<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>OneSwarm Forum &#187; Topic: memory related</title>
		<link>http://forum.oneswarm.org/topic/951</link>
		<description>User forum for the OneSwarm Friend-to-Friend data sharing network</description>
		<language>en-US</language>
		<pubDate>Thu, 23 May 2013 19:33:38 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forum.oneswarm.org/search.php</link>
		</textInput>
		<atom:link href="http://forum.oneswarm.org/rss/topic/951" rel="self" type="application/rss+xml" />

		<item>
			<title>unique-username on "memory related"</title>
			<link>http://forum.oneswarm.org/topic/951#post-11635</link>
			<pubDate>Wed, 06 May 2009 22:02:21 +0000</pubDate>
			<dc:creator>unique-username</dc:creator>
			<guid isPermaLink="false">11635@http://forum.oneswarm.org/</guid>
			<description>&#60;p&#62;DanyaelX: Later I didnt show &#60;a href=&#34;http://127.0.0.1:29615/&#34; rel=&#34;nofollow&#34;&#62;http://127.0.0.1:29615/&#60;/a&#62; so FF didnt use all my mem.&#60;br /&#62;
bachenke: find file &#34;OneSwarm&#34;. edit it. at the bottom you see it. you are allowed to think.&#60;br /&#62;
on my system its /usr/local/OneSwarm/OneSwarm on yours its maybe in c:\i\have\no\clue\OneSwarm\OneSwarm. See part about allowed to think above.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bachenke on "memory related"</title>
			<link>http://forum.oneswarm.org/topic/951#post-11624</link>
			<pubDate>Wed, 06 May 2009 18:49:45 +0000</pubDate>
			<dc:creator>bachenke</dc:creator>
			<guid isPermaLink="false">11624@http://forum.oneswarm.org/</guid>
			<description>&#60;p&#62;Thank you for your quick reply.&#60;/p&#62;
&#60;p&#62;I have to tell you though... I can't really find the &#34;executable script&#34;. What is the file called and where is it located? If you could tell me that i will probably be able to figure the rest out for myself :)&#60;/p&#62;
&#60;p&#62;I can't say that i've experienced any problems when not hashing, but I'm still not even close to hashing all of my ~1200GB so who knows? I might experience the same thing as you when i'm done.&#60;/p&#62;
&#60;p&#62;Thanks again
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kkr on "memory related"</title>
			<link>http://forum.oneswarm.org/topic/951#post-11612</link>
			<pubDate>Wed, 06 May 2009 16:22:03 +0000</pubDate>
			<dc:creator>kkr</dc:creator>
			<guid isPermaLink="false">11612@http://forum.oneswarm.org/</guid>
			<description>&#60;p&#62;Just change the executable script (the one you run called oneswarm). It's down in the end of the file on the row where java is called. The maximum heap size tells java how big heap it's allowed and how often garbage collect (freeing no longer used memory) is performed will depend on this.&#60;/p&#62;
&#60;p&#62;Do you have problems also when not hashing? (that is, only starting oneswarm fills the memory)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bachenke on "memory related"</title>
			<link>http://forum.oneswarm.org/topic/951#post-11592</link>
			<pubDate>Wed, 06 May 2009 11:29:26 +0000</pubDate>
			<dc:creator>bachenke</dc:creator>
			<guid isPermaLink="false">11592@http://forum.oneswarm.org/</guid>
			<description>&#60;p&#62;I have the same problem. Debug log tells me java.lang.OutOfMemoryError: Java heap space&#60;/p&#62;
&#60;p&#62;How do i actually use the &#34;-Xmx512m&#34; command? Could you perhaps provide a tutorial for Java n00bs?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kkr on "memory related"</title>
			<link>http://forum.oneswarm.org/topic/951#post-11588</link>
			<pubDate>Wed, 06 May 2009 10:09:53 +0000</pubDate>
			<dc:creator>kkr</dc:creator>
			<guid isPermaLink="false">11588@http://forum.oneswarm.org/</guid>
			<description>&#60;p&#62;I confirm the hashing process is leaking a lot, especially with the web interface open. How much memory is consumed just by starting oneswarm (not starting hashing)?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>DanyaelX on "memory related"</title>
			<link>http://forum.oneswarm.org/topic/951#post-11520</link>
			<pubDate>Mon, 04 May 2009 22:06:35 +0000</pubDate>
			<dc:creator>DanyaelX</dc:creator>
			<guid isPermaLink="false">11520@http://forum.oneswarm.org/</guid>
			<description>&#60;p&#62;have  you tried not to add everything at once?&#60;br /&#62;
and have you tried to tell it to add and then while it is hashing shut down FireFox?&#60;/p&#62;
&#60;p&#62;That worked for me
&#60;/p&#62;</description>
		</item>
		<item>
			<title>unique-username on "memory related"</title>
			<link>http://forum.oneswarm.org/topic/951#post-11476</link>
			<pubDate>Mon, 04 May 2009 09:53:20 +0000</pubDate>
			<dc:creator>unique-username</dc:creator>
			<guid isPermaLink="false">11476@http://forum.oneswarm.org/</guid>
			<description>&#60;p&#62;shit, i cant even start oneswarm with 512M ram;&#60;/p&#62;
&#60;p&#62;Exception in thread &#34;Magic directory scanner&#34; java.lang.OutOfMemoryError: Java heap space&#60;br /&#62;
        at java.lang.reflect.Array.newArray(Native Method)&#60;br /&#62;
        at java.lang.reflect.Array.newInstance(Unknown Source)&#60;br /&#62;
        at java.util.Arrays.copyOf(Unknown Source)&#60;br /&#62;
        at java.util.ArrayList.toArray(Unknown Source)&#60;br /&#62;
        at java.util.Collections$SynchronizedCollection.toArray(Unknown Source)&#60;br /&#62;
        at edu.washington.cs.oneswarm.watchdir.MagicDecider.excluded(MagicDecider.java:285)&#60;br /&#62;
        at edu.washington.cs.oneswarm.watchdir.MagicDecider.decideTorrents(MagicDecider.java:113)&#60;br /&#62;
        at edu.washington.cs.oneswarm.watchdir.MagicDecider.decideTorrents(MagicDecider.java:168)&#60;br /&#62;
        at edu.washington.cs.oneswarm.watchdir.MagicDecider.decideTorrents(MagicDecider.java:168)&#60;br /&#62;
        at edu.washington.cs.oneswarm.watchdir.MagicDecider.decideTorrents(MagicDecider.java:168)&#60;br /&#62;
        at edu.washington.cs.oneswarm.watchdir.MagicDirectoryManager.process_additions(MagicDirectoryManager.java:505)&#60;br /&#62;
        at edu.washington.cs.oneswarm.watchdir.MagicDirectoryManager.run(MagicDirectoryManager.java:329)&#60;/p&#62;
&#60;p&#62;I guess I have to try 1024m.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>unique-username on "memory related"</title>
			<link>http://forum.oneswarm.org/topic/951#post-11475</link>
			<pubDate>Mon, 04 May 2009 09:47:20 +0000</pubDate>
			<dc:creator>unique-username</dc:creator>
			<guid isPermaLink="false">11475@http://forum.oneswarm.org/</guid>
			<description>&#60;p&#62;Wow, oneswarm is one of the few p2p programs that doesnt die with 100% cpu&#60;br /&#62;
usage when I feed it with my 416 GB data in 58000 files that I wanna share&#60;br /&#62;
with the world. HOWEVER, I have noticed that firefox will use ALL memory&#60;br /&#62;
and die the swap death after a night when it displayed &#34;Hashing.... 0% ..&#60;br /&#62;
100%&#34; thing. If possible, try so oneswarm doesnt use up all the memory. In&#60;br /&#62;
the morning FF used 2.6 GB (I have 3 GB) memory and the box had a load of&#60;br /&#62;
55. Had to login remotely and kill firefox.&#60;/p&#62;
&#60;p&#62;The other thing is I noticed is that it dies after about 2000 hashed files&#60;br /&#62;
with &#34;java.lang.OutOfMemoryError: Java heap space&#34;. When I rised java&#60;br /&#62;
memory with -Xmx512m. It worked alot longer... but it died also.&#60;br /&#62;
In the end I used -Xmx1536m but it also died after a day or so. But it was&#60;br /&#62;
quite long time. It took over a WEEK to hash 58k files! Now its done, it&#60;br /&#62;
become 52700 torrents of it. I use -Xmx512m now because I have better use&#60;br /&#62;
of the memory then letting oneswarm get so much memory. What needs to be&#60;br /&#62;
fixed:&#60;/p&#62;
&#60;p&#62;* Not use so much memory, something that can hash ALL files should be&#60;br /&#62;
  default, so if -Xmx512m can hash unlimited amount of files, that should&#60;br /&#62;
  be default and not -Xmx256m like it is now.&#60;/p&#62;
&#60;p&#62;* Doesnt crash after a while when hashing files.&#60;/p&#62;
&#60;p&#62;My sysinfo: oneswarm 0.6, firefox-3.0.10, linux 2.6, java version 1.6.0_13
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
