In message <[EMAIL PROTECTED]>, Chris Gentile <[EMAIL PROTECTED]> writes

I am also struggling with 5074.


Here is my freenet.conf:
ipAddress=www.gentilehome.com
listenPort=27882
seedNodes=seednodes.ref
outputBandwidthLimit=48000
storeSize=3G
overloadHigh=0.6
overloadLow=0.4

I've got a fast net connection 7mbps downstream 1mbps upstream.
I've got over 2GB in my store.

After a few hours of stability (6 or so), it stops sending/receiving
significant amounts of data and the CPU sits at 100%.
The memory sits at 150MB and I see these errors in the freenet.log

Mar 12, 2004 7:14:38 PM (freenet.PeerPacketParser, Network reading
thread, ERROR): Caught java.lang.OutOfMemoryError in
[EMAIL PROTECTED] PeerPacketParser[lengthBuffered=-1,
waitingMessageLength=-1, waitingMessageCurrentBytes=-1,
[EMAIL PROTECTED]
MuxConnectionHandler[conn=[tcp/connection:
35405>80.134.44.225:31603,[EMAIL PROTECTED],
[EMAIL PROTECTED],
[EMAIL PROTECTED], identity=[DSA(a971 6c0e
ce49 3474 7679 8e61 f4e5 67bb f1c3 0cc5)],
sock=[Socket[addr=drumbass.dyndns.org/80.134.44.225,port=31603,localport
=35405]], chan=[java.nio.channels.SocketChannel[connected local=/192.168.1.50:35405 remote=drumbass.dyndns.org/80.134.44.225:31603]], peer=[Peer [DSA(a971 6c0e ce49 3474 7679 8e61 f4e5 67bb f1c3 0cc5) @ 80.134.44.225:31603 (1/3)]], outbound=[true]]].processMessage(buf,86,105,true)
java.lang.OutOfMemoryError


As per the default start-freenet.sh script, java is being launched with
this switch: -Xmx128m


Soooo, what gives? Why can't it live within it's 128MB space?



- Chris Gentile


Because it needs 256MB! As an ignorant user, I found 5069 and around failed with out of memory errors after 1-6 hours, but 5074 can go at least a day or two with 256MB. Obvious changes tinkering with the configuration file does not seem to change this much. The position of the developers is that RAM is cheap (if you're not using a pentium 1 chipset!) and this is a matter for later optimisation. Memory allocation can be altered by a command line option on starting Java, but since I don't know what is in the latest start up scripts, you'd better check if you don't already know the syntax.
--
Roger Hayter
_______________________________________________
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Reply via email to