In einer eMail vom Sa, 13. M�rz 2004 3:52 MEZ schreibt Chris Gentile <[EMAIL PROTECTED]>:
> >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 > > >Chris Gentile <[EMAIL PROTECTED]> Cause freenet wants as much memory as possible... ;) You could try unstable, if you want that, since memory usage seems to be a little bit less insane there. At least my node can run more then 2 days with a maximum of 100mb allocated RAM with unstable. But the more you use your freenet node (making requests, looking at the interface,...) the faster it gets out of memory (Thats at least my experience.), and you can do what you want, you will have to restart your node every one or two days. And to the philosophy of some devs: "RAM is cheap" New SDRAM will be detected only with half of it's normal size or even not detected at all in "old" computers (if you call computers from up to 2000 old...), so you have to buy some RAMs with large sizes and thats not so cheap (or old version of that type of RAM, but thats not that easy, too). Apart from that it is not that easy to get more then 256MB RAM in older computers like P2s, because they do not like RAMs with larger sizes. So the maximum alocate able size of memory is below 200MB, with some OSs even further down. But ok, it already got a lot better in the last unstable builds. _______________________________________________ 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]
