Unexpected OutOfMemoryError...

gabriel.bianco@pixeon.com.br gabriel.bianco@pixeon.com.br
Wed Nov 29 19:00:00 GMT 2006


Citando Andrew Haley <aph@redhat.com>:
> I can't reproduce this. I guess it's probably a Windows-specific thing.
>> The gc calls either VirtualAlloc or GlobalAlloc, depending on how it
> is configured. If either of these fails, the full error information
> may be retrieved by calling GetLastError.
>> If I were you, I'd go into os_dep.c and add a bunch of trace
> information to GC_win32_get_mem to see why the gc is failing to
> allocate memory.
>> Andrew.
>
Took me a while, but I finally learned how to compile it... But it didn't show
anything interesting, no errors.
I've attached the output of the test, but the error doesn't seem to be in
GC_win32_get_mem(). It calls VirtualAlloc(), but never fails...
It only calls GC_win32_get_mem() a few times. The OutOfMemoryError exception is
thrown from somewhere else.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log.txt
URL: <http://gcc.gnu.org/pipermail/java/attachments/20061129/9c0a5c0c/attachment.txt>


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /