* Derek Fountain
4GB per process, split 3:1 between user space and kernel space. Any idea where I can find more info on this ? Well the physical memory management is a kernel controlled thing, so you need to look at kernel resources like the kernel list or kernel traffic pages.
OK, Thanks, Ill ask there ...
I do remember reading a while ago that glibc limited it to 2G (or at least that I cannot malloc more than 2G in one go ).
malloc() takes a size_t as its parameter, and size_t is an unsigned int, so the limit should be 4GB on a 32 bit platform. The user space limit is 3GB, so it should be able to malloc that. I have no way of testing it and I don't have the glibc source on this machine. If you have suitable hardware, what happens when you try?
Ah yes, suitable hardware ;) .. Not having 4G of physical ram in my machine that would be a bit tricky, but I should be able to test it by enlarging the swap partition ... Kind regards, -- Gerhard den Hollander Phone :+31-10.280.1515 Global IT Support manager Direct:+31-10.280.1539 Jason Geosystems BV Fax :+31-10.280.1511 (When calling please note: we are in GMT+1) gdenhollander@jasongeo.com POBox 1573 visit us at http://www.jasongeo.com 3000 BN Rotterdam JASON.......#1 in Reservoir Characterization The Netherlands This e-mail and any attachment is/are intended solely for the named addressee(s) and may contain information that is confidential and privileged. If you are not the intended recipient, we request that you do not disseminate, forward, distribute or copy this e-mail message. If you have received this e-mail message in error, please notify us immediately by telephone and destroy the original message.