Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'RSIZE and VSIZE' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
RSIZE and VSIZE
Authored by: Auricchio on Nov 08, '02 09:57:18AM

VSIZE is the total amount of VM the process is using. It costs you swap space and perhaps some time paging in stuff for the process.

RSIZE is the resident size in memory, which impacts the system more directly than VSIZE. This figure doesn\'t consider whether those pages are wired in memory (not pageable), just that they\'re currently resident. They may also be shared with other processes (e.g. as shared-library code), so they\'re getting more use than you might otherwise think.

If it\'s a leak, of course, it\'s a bug. You might report it to Apple and someone will check on it.



[ Reply to This | # ]
RSIZE and VSIZE
Authored by: Halo1 on Nov 09, '02 12:29:02PM

FWIW, VSIZE does not necessarily cost you swap space. In previous version of Mac OS X, e.g. the VSIZE of classic was always 1 GB. This didn't mean that it allocated one gig of swap space however, simply that it's virtual address space was 1 GB large.

Most of the time the VSIZE indicates the amount of memory that the application and its library occupy and allocated. However, if you allocate memory without using it, it doesn't cost you anything (no swap is created for it or so).



[ Reply to This | # ]