Why is virtual memory so high? (crash)
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Thunderbird 2.0.0.18 (Macintosh/20081105) Hi, I have a large C/C++ project with thousands of lines of code and many thirdparty-libraries. When it startes up, it reserves around 1.8GB of virtual memory (40MB real memory), and I don't know why. Its a 32bit application that should use all real memory possible (4GB), but it crashes after reserving only 2.5GB real mem when the virtual mem reaches 4GB. The crash is logical, but why does it start with 1.8GB vmem initially? On ppc it reserves only 350MB vmem. In case thats relevant, the app opens some files and does some 3D graphics. It also uses QT amongst many other libs. Is that helpful? Best, Mario BTW: I don't completely understand who reserves the vmem. Is it my app, or is it the OS? Can I trace it? _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Mario Emmenlauer