LWN.net Logo

Problems

Problems

Posted Dec 4, 2003 15:11 UTC (Thu) by zlynx (subscriber, #2285)
In reply to: Problems by ncm
Parent article: Peer to Peer Freedom of Speech

Not everyone has those problems. For me, Freenet runs fine, using about 380 MB of RAM while running. It's run fine for weeks at a time.

A couple of suggestions: Use the newest Sun JRE, and run Freenet with "-Xmx512M" on the Java command line. Part of your problem with the high CPU usage might be Java trying to find available memory to garbage collect, so just give Java more space.


(Log in to post comments)

Problems

Posted Dec 4, 2003 16:55 UTC (Thu) by ncm (subscriber, #165) [Link]

My machine doesn't have 380M of RAM. Few do. It's frankly obscene that a program that just moves data from disk to network and back, with tiny indexing needs, consumes not just megabytes, but hundreds of megabytes.

Again, I'm inclined to blame Java and its faulty memory management model, as embodied in equally faulty JVMs. There are good reasons that hardly any Free Software projects are written in Java. (I don't count those meant for people who are obliged to run Java anyhow.)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds