Our bloat problem
Posted Aug 11, 2005 12:24 UTC (Thu) by
anton (subscriber, #25547)
In reply to:
Our bloat problem by oak
Parent article:
Our bloat problem
I don't see why program would allocate memory without writing to it
I do this when I need contiguous memory, but don't know how much. Then I allocate lots of space; unused memory is cheap. The result looks like this:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
anton 17100 0.0 0.2 6300 1196 pts/0 S+ 14:16 0:00 gforth
The large VSZ is caused mainly by unused allocated memory.
So if you want to know the real memory usage, counting private anonymous mappings is not good enough.
(
Log in to post comments)