In the immortal words of [EMAIL PROTECTED] ([EMAIL PROTECTED]):
>
> I've been trying to use JMeter to run load tests but it seems that no
> matter what heap size I give it, it gradually uses up all memory and gets
> bogged down in garbage collects.
I've had very good luck tuning garbage collection with:
-XX:+UseParallelGC -XX:+UseAdaptiveSizePolicy
N.B. that you'll need Java 1.4.2 or later to use ParallelGC, and my
understanding is that an SMP or SMT cpu setup helps a LOT.
That said, I've never run jmeter for 5 hours straight, so this may not
be at all applicable to your situation.
For what it's worth, I found this paper to be very useful reading:
http://java.sun.com/docs/hotspot/gc1.4.2/
-n
--------------------------------------------------------------<[EMAIL
PROTECTED]>
"Two crucial things in New York: Do the work and enjoy the town. New York
furnishes vast pleasure to them what can hear the music and do the dance. They
may be from Wisconsin or Denmark or Japan, but they walk down the street and
it appeals to them, the hurly-burly and the eccentrics and the street
musicians,
the aroma of pizza and chestnuts and hot dogs, the jangle of a dozen different
languages, the distant siren, the rumble of the subway, the pockets of grace
and elegance and the flash and hustle and the river of perspiring humanity. A
person who knows how to make himself happy can do well in New York. Enjoying
the carnival is more important to your happiness than 'making it.' But do do
the work." (--Garrison
Keillor)
<http://blank.org/memory/>------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]