[pylucene-dev] GC Warning: Out of Memory! Returning NIL!

Yura Smolsky info at altervision.biz
Wed Jan 5 10:17:54 PST 2005


Hello, Victor.

I have been trying to find out the reason. But this error has appeared
only once.

VN> Anyone have any luck tracking down this problem?  I'm getting the same
VN> error in my own code now.

VN> GC Warning: Out of Memory!  Returning NIL!

VN> vic

VN> On Fri, 24 Dec 2004 12:03:48 -0800 (PST), Andi Vajda
VN> <vajda at osafoundation.org> wrote:
>> 
>> Then, you've most likely found a bug in libgcj's memory management.
>> 
>> >>> What can I do to research this problem? :)
>> 
>> You can create the same script in Java, then compile it with gcj into a
>> standalone executable and run it again.
>> 
>> If it also stops unexpectedly then the next step is to contact the gcj mailing
>> list at http://gcc.gnu.org/ml/java/ and submit the problem there.
>> 
>> They might also ask you to reproduce the problem under gcc 4.0 (I assume
>> you're doing all this on Linux).
>> 
>> Andi..
>> 
>> 
>> On Thu, 23 Dec 2004, Yura Smolsky wrote:
>> 
>> > Hello, Andi.
>> >
>> > As I told this script has been running for two days.
>> > I checked memory usage by the end of 1st day - 110M.
>> > by the end of 2nd day - 123M.
>> >
>> > I think It has not leaks.
>> >
>> > Does anyone there have Indexer based on PyLucene which has been
>> > running more that 2 days?
>> >
>> >
>> >>> GC Warning: Out of Memory!  Returning NIL!
>> >>>
>> >>> What does that mean? Who did send such error? Is it problem of GCJ or
>> >>> PyLucene or my script?
>> >
>> > AV> 'GC' is the java garbage collector in libgcj, boehm-gc.
>> > AV> This message most likely means that java is running out of memory.
>> > AV> Whose fault is it ? Well, depending on the reason blame could be laid on
>> > AV> anybody. A leak ? maybe, the needs of your program ? maybe.
>> >
>> >>> What can I do to research this problem? :)
>> >
>> > AV> Track memory usage by watching your process. If you find a leak, try to narrow
>> > AV> it down.
>> >
>> > AV> Andi..
>> >
>> >
>> >
>> > AV>
>> >
>> >
>> >
>> > Yura Smolsky,
>> >
>> >
>> >
>> _______________________________________________
>> pylucene-dev mailing list
>> pylucene-dev at osafoundation.org
>> http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
>>


Yura Smolsky,





More information about the pylucene-dev mailing list