Re: A question about heap size



Tommy chen wrote:

In our program, a huge heap (above 10GB) is needed. On our X86-64 platform,
hardware provides this capability. But the program was shutdown, while it
malloc about 3GB from the heap. Who tell us what is the upper limitation for
gcc and red hat linux about its heap size? and how to reach this limitation?

19G of heap?! My reaction is that, unless you're modeling the Earth's weather, there's something *seriously* wrong with your programmers, and that program needs major redesign.

mark "or rewrite it in C"

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: trap in malloc on 2000 terminal server
    ... For the error in the debugger extension, looks like you have an old debugger ... some operation that has an undefined behavior beforehand. ... On average, heap corruption shows up as crashes in random places, ... What is the logic of malloc? ...
    (microsoft.public.win32.programmer.kernel)
  • Re: trap in malloc on 2000 terminal server
    ... For the error in the debugger extension, looks like you have an old debugger ... some operation that has an undefined behavior beforehand. ... On average, heap corruption shows up as crashes in random places, ... What is the logic of malloc? ...
    (microsoft.public.win32.programmer.tools)
  • Re: What does SZ on the ps output mean?
    ... originally assumed that no matter how many malloc and frees were done, ... there shouldn't be an upward trend. ... hope of spotting any memory leak. ... examine the java heap as mgd by the JVM. ...
    (comp.unix.solaris)
  • Re: Modifying default Win32 heap management.
    ... I'm doing some experiment about heap management on Windows. ... is intercepting Win32 default heap management calls and modifying its ... replaced these calls with another verified malloc implementation, ... works on Win32 as well. ...
    (microsoft.public.win32.programmer.kernel)
  • Malloc, free and thread-safety
    ... I get intermittent exceptions such as: ... HEAP[recv.exe]: HEAP: Free Heap block 316d978 modified at 316d988 after it ... I've checked carefully that malloc() and freeare ... The exceptions are infrequent and intermittent for basically the same traces ...
    (microsoft.public.dotnet.languages.vc)