anonymous wrote : I looked at your modified testcase and added the 
Thread.sleep(5) to my own SimpleCacheTest.java after each put as you had done.
In my testcase, sleep(5) is commented ! You're not running the same load if you 
sleep for 5ms between requests !

anonymous wrote : This time the memory consumption increases much more slowly 
and you can also see that the gc manages to free memory. However, the trend is 
still growing and after about 40 minutes both putters had consumed all JVM 
memory and a full gc was invoked. 

I ran 2 senders at full speed on my WindowsXP laptop (1 CPU). I can only 
reiterate that they didn't run out of memory at all. I used both SUN's 1.4.2_05 
and SUN's 1.5.0_01. The second test I ran for ca. 15 minutes, and memory even 
decreased slightly after a few minutes.

Oh, I re-read your prev statement, you're not saying you run out of memory, but 
that you're seeing full garbage collections ?
Then I suggest increasing the size of the young generation: JGroups creates a 
lot of smaller objects that can be garbage collected almost immediately after 
creation, e.g. Messages, Events etc. So the eden space  should be relatively 
good-sized, so that the max number of bytes generated by Messages should be 
smaller than the eden space.
>From the JGroups side, you can control the number of messages buffered though 
>FC.max_credits/min_threshold and STABLE.max_bytes.

anonymous wrote : Next, I took your version of SimpleCacheTest.java (with the 
receiver flag = false, and the System.out.println output commented away) and 
your NetCache.java and reran the test with the fc-fast configuration. I should 
now be running virtually the same testbench as you (apart from the console 
output and your JBosscache 1.2.1 jar). When running two simple.bat putters 
simultaneously I eat up all 200 MBs of JVM memory in less than 5 minutes in 
each JVM triggering a full gc. 

In my tests, I didn't run with receiver=true because that would have generated 
less load.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869709#3869709

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869709


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to