Re: allocate more than 2 GB on IA32

From: Martin J. Bligh (
Date: Tue Feb 11 2003 - 11:11:38 EST

> i would like to allocate more than 2 GB of memory on an IA32 architecture.
> The machine is a dual XEON_DP with 3 GB of Ram and 4 GB of swap space.
> I have tried with the default SUSE 8.1 kernel as well as with a
> 2.4.20-pre4aa1 Kernel compile by my own using these Options:
> but I am only able to allocate 2 GB with a single malloc call.
> I tought it should be possible to allocate up to 2.9 GB of memory to a
> process, with this kernel settings.

Well, assuming you had no user-space code or data, or a stack, or any
shared libraries to fit into that space as well ;-)

Try shifting TASK_UNMAPPED_BASE down from 1GB to 0.5GB - that should give
you some more breathing room, though you'll never get to 2.9GB.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:34 EST