linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* memory allocation on linux
@ 2002-08-07 15:19 Cannizzaro, Emanuele
  0 siblings, 0 replies; 5+ messages in thread
From: Cannizzaro, Emanuele @ 2002-08-07 15:19 UTC (permalink / raw)
  To: riel, ebiederm+eric, leechin, linux-kernel, linux-mm

I am writing to you regarding your experience to address a huge amount of 
memory on linux using the brk() function.

I am running a program called nastran (v2001) on a pc with redhat 7.2. This 
machine has got 2GB of disk spacebut  when I set the amount of memory to be 
used by nastran to a value bigger than 900 mb I get this fatal error message.

Process Id = 28179
idalloc: dynamic allocation failed - brk: Cannot allocate memory
   requested size: 402653184 words (1572864 kbytes)
   starting address:           0x0a300000 ( 170917888)
   maximum address requested:  0x6a300080 (1781530752)
 08:08:18  MAINAL: *** OPEN CORE MEMORY ALLOCATION FAILED *** ERROR =         
 1
 08:08:18  MAINAL: *** MEMORY REQUESTED =    402653184 ***
 08:08:18  MAINAL: *** PROCESSING TERMINATED ***
 08:08:18  Analysis complete  8
STOP OPEN CORE Allocation Failed statement executed

I have no access to the source code of the program and therefore I would need 
a patch to the memory allocation.

how can this problem be fixed?

Thanks in advance for your help

Emanuele Cannizzaro
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <20020807152229Z16466-21510+1725@humbolt.nl.linux.org>]
* Re: memory allocation on linux
@ 2002-09-20  0:21 Lee Chin
  2002-09-20  1:03 ` Rik van Riel
  0 siblings, 1 reply; 5+ messages in thread
From: Lee Chin @ 2002-09-20  0:21 UTC (permalink / raw)
  To: riel, Cannizzaro, Emanuele; +Cc: ebiederm+eric, leechin, linux-kernel, linux-mm

Hello,
I downloaded the latest 2.5 Kernel.

I have a process trying to allocate a large amount of memory.

I have 4 GB physical memory in the system and more with swap space.

I have the kernel compiled with 8GB memory support.

However, I am unable to allocate more than 2GB for my process.

How can I acheive this?

Thanks
Lee
-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: memory allocation on linux
@ 2002-09-20 14:35 Lee Chin
  0 siblings, 0 replies; 5+ messages in thread
From: Lee Chin @ 2002-09-20 14:35 UTC (permalink / raw)
  To: riel, leechin; +Cc: Cannizzaro, Emanuele, ebiederm+eric, linux-kernel, linux-mm

Hi
>If you link your program statically
>you might be able to get up to nearly 3 GB of >memory for your
>process, but that's the limit...
Is that on a 32 bith machine that I can get upto 3GB?  I have linked statically, but yet I max out at 2 GB.  I thoiught with th elatest kernel, which already includes the BIGMEM patch, I should be able to go upto 3GB.

Thanks
Lee

----- Original Message -----
From: Rik van Riel <riel@conectiva.com.br>
Date: 	Thu, 19 Sep 2002 22:03:31 -0300 (BRT)
To: Lee Chin <leechin@mail.com>
Subject: Re: memory allocation on linux


> On Thu, 19 Sep 2002, Lee Chin wrote:
> 
> > I have a process trying to allocate a large amount of memory.
> > I have 4 GB physical memory in the system and more with swap space.
> 
> > However, I am unable to allocate more than 2GB for my process.
> > How can I acheive this?
> 
> Switch to a 64-bit CPU.  If you link your program statically
> you might be able to get up to nearly 3 GB of memory for your
> process, but that's the limit...
> 
> Rik
> -- 
> Bravely reimplemented by the knights who say "NIH".
> 
> http://www.surriel.com/		http://distro.conectiva.com/
> 
> Spamtraps of the month:  september@surriel.com trac@trac.org
> 
> 

-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-09-20 14:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-07 15:19 memory allocation on linux Cannizzaro, Emanuele
     [not found] <20020807152229Z16466-21510+1725@humbolt.nl.linux.org>
2002-08-07 15:53 ` Rik van Riel
2002-09-20  0:21 Lee Chin
2002-09-20  1:03 ` Rik van Riel
2002-09-20 14:35 Lee Chin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox