Re: Setting global/local stack sizes to more than 2 GB in Linux

From: Joachim Schimpf <j.schimpf_at_icparc.ic.ac.uk>
Date: Mon 16 May 2005 09:36:33 AM GMT
Message-ID: <428869A1.2010203@icparc.ic.ac.uk>
Huy wrote:
> Hi Everyone,
> 
> Is it possible to set the stack sizes to a total of
> more than 2GB?
> 
> I am running Linux (Redhat Fedora Core 3) on an AMD
> Athlon (32-bit) machine.

This is a limitation of (32-bit) Linux, it reserves half the 32-bit
address space for the kernel and leaves only 2GB for the user program.
As a result, the maximum global stack you can request for eclipse
is about 1900M.

Solaris doesn't have this limit and you can allocate close to 4G.

On 64-bit, of course this limit doesn't exist.


-- 
  Joachim Schimpf              /             phone: +44 20 7594 8187
  IC-Parc                     /      mailto:J.Schimpf@imperial.ac.uk
  Imperial College London    /    http://www.icparc.ic.ac.uk/eclipse
Received on Mon May 16 10:42:28 2005

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:36 PM GMT GMT