[Gc] Re: GC_MALLOC() Failure

Andrew Haley aph at redhat.com
Mon May 10 11:26:43 PDT 2010

On 05/10/2010 07:05 PM, Volkan YAZICI wrote:
> On Mon, 10 May 2010, Andrew Haley <aph at redhat.com> writes:
>> The easiest way is to use strace on the mmap() calls.
> Sorry, I couldn't understand what you mean. Could you be more elaborate
> please? I know which GC_MALLOC() calls fail for which particular sizes
> -- eg. in my case it fails for GC_MALLOC(99532800) expression -- but I
> don't how to make GC_MALLOC() use the remaning of the available memory.
> And for strace output, here are the last words of the execution:

strace -f -etrace=mmap

and then look for which mmap() call fails.


More information about the Gc mailing list