Vim Recall繁體中文

Show memory profiling statistics when built with MEM_PROFILE

g Ctrl-a

Example

Normal 0 / 1

Show memory profiling statistics when built with MEM_PROFILE.

SIMULATED developer build

Build
MEM_PROFILE defined (very rare)
Statistics
Not requested
Before & after

Before

SIMULATED developer build

Build
MEM_PROFILE defined (very rare)
Statistics
Not requested

After

SIMULATED developer build

Build
MEM_PROFILE defined
Statistics
Memory usage report requested; numeric values are build/run dependent

ILLUSTRATION. Assume the rare Vim developer build with MEM_PROFILE defined, matching Vim's implementation guard. No fabricated memory measurement or report file is produced.

Sample buffer
one two
three four
Cursor on line 1, column 1
Details & Vim help

Show memory profiling statistics when built with MEM_PROFILE. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.