Why is virtual memory so high? (crash)
Why is virtual memory so high? (crash)
- Subject: Why is virtual memory so high? (crash)
- From: Mario Emmenlauer <email@hidden>
- Date: Mon, 19 Jan 2009 10:18:25 +0100
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden