Hello. I am a little curious on how virtual memory per process works in Darwin. I am calling "task_info()" using TASK_BASIC_INFO to retrieve the amount of memory my process is using, but I receive very doubtful numbers. According to a webpage[1], the values are number of pages, but to me they look very much like the size in bytes instead. I came to this conclusion using the "top" and comparing the values for resident memory sizes. I suspect it is merely a typo in the headerfiles? However, the real confusion is "virtual_size", which is a value around 700MB while "top" shows ~90MB. And that one I can't understand at all. Anyone has an idea on how this works? .ju [1] : http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_basic_info.html _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.