I am seeing the WriteSelectorLoop OOM/NPE:s on latest Sun JVM on
windowsXP too..

As far as I can tell it is not because of a lack of available JVM memory
unless fred:s memory usage suddenly baloons to around 10x the cruising
size.

Those OOM seems to occur in my node now and then and has been doing so
for at least the last 20 unstable builds (possible more). Sometimes the
node survives.. Sometimes it just stalls.

/N

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Philip Bock
> Sent: den 26 oktober 2003 17:55
> To: [EMAIL PROTECTED]
> Subject: [freenet-dev] Re: 6281, out of memory errors
> 
> 
> I'm seeing this same behavior on Windows 2000, using the 
> latest Sun JVM.
> 
> Philip Bock
> 
> Ian Clarke wrote:
> > Glad to hear it is better.  What operating system and JVM are you 
> > using,
> > and how are you running Freenet?  Some JVMs default to only 64MB of 
> > memory which really isn't sufficient for Freenet.
> > 
> > Ian.
> > 
> > Doug Bostrom wrote:
> > 
> >> 6281 seems vastly more responsive than the previous versions. 
> >> However,
> >> the host server became unresponsive after about 4 hours of 
> operation. 
> >> Possibly a coincidence, but I was inserting a 10MB file at 
> the time. 
> >> The console and log were full of complaints about being 
> out of memory, 
> >> an error I've never seen in running Freenet since the days when it 
> >> first arose from the primordial ooze. Maybe this is a good thing 
> >> meaning this little box was finally overwhelmed by actual proper 
> >> freenet operation?
> >>
> >>
> >> Console:
> >>
> >> java.lang.Exception
> >>        at
> >> 
> freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLo
> op.java:678) 
> >>
> >>        at
> >> freenet.transport.WriteSelectorLoop.run(WriteSelectorLoop.java:738)
> >>        at java.lang.Thread.run(Thread.java:536)
> >> java.lang.OutOfMemoryError
> >> java.lang.OutOfMemoryError
> >> java.lang.OutOfMemoryError
> >> java.lang.Exception
> >>        at 
> >> 
> freenet.transport.AbstractSelectorLoop.loop(AbstractSelectorLo
> op.java:678) 
> >>
> >>        at
> >> freenet.transport.WriteSelectorLoop.run(WriteSelectorLoop.java:738)
> >>        at java.lang.Thread.run(Thread.java:536)
> >> Could not execute 
> >> [EMAIL PROTECTED]  
> >> CB: 131 @ 1067146495048: java.lang.OutOfMemoryError
> >> java.lang.OutOfMemoryError
> >> java.lang.OutOfMemoryError
> >> java.lang.NullPointerException
> >> java.lang.OutOfMemoryError
> >> java.lang.OutOfMemoryError
> >> java.lang.OutOfMemoryError
> >> java.lang.OutOfMemoryError
> >> java.lang.NullPointerException
> >> java.lang.NullPointerException
> >> java.lang.OutOfMemoryError
> >> java.lang.OutOfMemoryError
> >>
> >> etc.
> >>
> >> Meantime, the log was showing:
> >>
> >> Oct 26, 2003 1:41:51 AM (freenet.transport.ReadSelectorLoop,  read
> >> interface thread, ERROR): BUFFER FULL (sun.nio.ch.Selecti
> >> Oct 26, 2003 1:42:02 AM (freenet.transport.ReadSelectorLoop,  read 
> >> interface thread, ERROR): Ran emergency GC in freenet.tra
> >> Oct 26, 2003 1:42:02 AM (freenet.transport.ReadSelectorLoop,  read 
> >> interface thread, ERROR): BUFFER FULL (sun.nio.ch.Selecti
> >> Oct 26, 2003 1:42:05 AM (freenet.transport.ReadSelectorLoop,  read 
> >> interface thread, ERROR): BUFFER FULL (sun.nio.ch.Selecti
> >> Oct 26, 2003 1:42:22 AM 
> >> (freenet.transport.AbstractSelectorLoop$CloseThread, 
> >> AbstractSelectorLoop background close() thread,
> >> Oct 26, 2003 1:42:41 AM (freenet.transport.ReadSelectorLoop,  read 
> >> interface thread, ERROR): Ran emergency GC in freenet.tra
> >> Oct 26, 2003 1:42:46 AM (freenet.transport.ReadSelectorLoop,  read 
> >> interface thread, ERROR): BUFFER FULL (sun.nio.ch.Selecti
> >> Oct 26, 2003 1:42:46 AM (freenet.transport.ReadSelectorLoop,  read 
> >> interface thread, ERROR): BUFFER FULL (sun.nio.ch.Selecti
> >> Oct 26, 2003 1:43:26 AM (freenet.transport.ReadSelectorLoop,  read 
> >> interface thread, ERROR): Ran emergency GC in freenet.tra
> >> Oct 26, 2003 1:43:43 AM (freenet.MessageHandler,  read interface 
> >> thread, ERROR): MessageFactory.java, Message constructor th
> >> java.lang.OutOfMemoryError
> >> Oct 26, 2003 1:43:51 AM (freenet.transport.ReadSelectorLoop,  read 
> >> interface thread, NORMAL): Caught throwable java.lang.Out
> >> java.lang.OutOfMemoryError
> >> Oct 26, 2003 1:44:28 AM (freenet.transport.ReadSelectorLoop,  read 
> >> interface thread, ERROR): Ran emergency GC in freenet.tra
> >> Oct 26, 2003 1:44:38 AM (freenet.transport.ReadSelectorLoop,  read 
> >> interface thread, ERROR): Ran emergency GC in freenet.tra
> >> Oct 26, 2003 1:44:52 AM (freenet.transport.ReadSelectorLoop,  read 
> >> interface thread, ERROR): Ran emergency GC in freenet.tra
> >> Oct 26, 2003 1:44:52 AM (freenet.transport.ReadSelectorLoop,  read 
> >> interface thread, NORMAL): resetting
> >> Oct 26, 2003 1:46:45 AM (freenet.transport.ReadSelectorLoop,  read 
> >> interface thread, ERROR): Ran emergency GC in freenet.tra
> >> Oct 26, 2003 1:47:03 AM (freenet.transport.ReadSelectorLoop,  read 
> >> interface thread, ERROR): BUFFER FULL (sun.nio.ch.Select
> >>
> >> Host is Linux 2.4.10, 192MB phyical memory, of which about 3MB was
> >> claimed to be free when the errors appeared. Plenty o' 
> virtual memory 
> >> available during the upset. Java is Sun j2re1.4.0_02.
> >>
> >>
> 
> 
> _______________________________________________
> Devl mailing list
> [EMAIL PROTECTED] 
> http://dodo.freenetproject.org/cgi-> bin/mailman/listinfo/devl
> 

_______________________________________________
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to