jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Lin <wool...@gmail.com>
Subject Re: out of memory errors
Date Wed, 29 Jun 2005 13:09:00 GMT
what does your test plan look like?

peter


On 6/29/05, Praveen Kallakuri <pkallakuri@gmail.com> wrote:
> hello,
> 
> i am using jmeter 2.1.20050327 (compiled from source) on a linux box.
> the box has 2068332 kB total memory of which 1932968 kB is free. the
> jmx file being used is 492 kB. the number of threads configured is 125
> with a total rampup time of 2500 seconds.
> 
> within a few seconds after i start jmeter (non-interactive mode), i
> see an out of memory error.
> 
> i played with various settings in the jmeter startup script and the
> current settings are given below.
> 
> HEAP="-Xms1000m -Xmx1800m"  # custom
> NEW="-XX:NewSize=512m -XX:MaxNewSize=1024m"  #custom
> TENURING="-XX:MaxTenuringThreshold=2" # default
> EVACUATION="-XX:MaxLiveObjectEvacuationRatio=60%" # custom
> RMIGC="-Dsun.rmi.dgc.client.gcInterval=600000
> -Dsun.rmi.dgc.server.gcInterval=600000" # default
> PERM="-XX:PermSize=64m -XX:MaxPermSize=64m" #default
> DEBUG="-verbose:gc -XX:+PrintTenuringDistribution" #default
> 
> I read in previous postings about tuning the evacuation settings
> (which was originally 20% I think), but that did not help.
> 
> A process listing shows 135-136 java processes spawned off within a
> few seconds of starting the test, and the out of memory errors start
> occuring pretty much around the 135th process getting spawned.
> 
> I remember reading in some java docs about the stack size on linux
> systems... a ulimit command shows this:
> 
> core file size        (blocks, -c) 0
> data seg size         (kbytes, -d) unlimited
> file size             (blocks, -f) unlimited
> max locked memory     (kbytes, -l) unlimited
> max memory size       (kbytes, -m) unlimited
> open files                    (-n) 1024
> pipe size          (512 bytes, -p) 8
> stack size            (kbytes, -s) unlimited
> cpu time             (seconds, -t) unlimited
> max user processes            (-u) unlimited
> virtual memory        (kbytes, -v) unlimited
> 
> I am at loss as to what more I can do... any suggestions?
> 
> 
> --
>                                      k.p.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message