jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Jmeter Uploading a file
Date Fri, 21 May 2010 05:37:21 GMT
2010/05/20 21:50:07 ERROR - jmeter.threads.JMeterThread: Test failed!
* java.lang.OutOfMemoryError: Java heap space*

Increase the heap to 2 GB and give it a try(assuming you have that much)
otherwise use more than one machine. You should NOT have NewSIze and
MaxNewSize equal to your heap. please read up on the flags before attempting
to tune.
also
http://jakarta.apache.org/jmeter/usermanual/best-practices.html#lean_mean




On Thu, May 20, 2010 at 10:06 PM, rakesh radhakrishnan <
rakesh.radhakrisnan@gmail.com> wrote:

> Dear Team,
>
> I am using Jmeter for load testing as bulk upload functionality.
>
> Test Details:
>
> I running 10 requests for uploading 10mb file.but one thread only executed
> .other threads are stopped.
>
> I have system memory of 44G.
>
> Kindly check with logs also.
>
>
> jmeter log
> 2010/05/20 21:49:17 INFO  - jmeter.threads.JMeterThread: Thread Upload 1-1
> is done
> 2010/05/20 21:49:17 INFO  - jmeter.engine.StandardJMeterEngine: Ending
> thread Upload 1-1
> 2010/05/20 21:49:17 INFO  - jmeter.engine.StandardJMeterEngine: Stopping
> test
> 2010/05/20 21:49:17 INFO  - jmeter.engine.StandardJMeterEngine: Notifying
> test listeners of end of test
> 2010/05/20 21:49:17 INFO  - jmeter.gui.util.JMeterMenuBar:
> setRunning(false,*local*)
> 2010/05/20 21:49:17 INFO  - jmeter.engine.StandardJMeterEngine: Test has
> ended
> 2010/05/20 21:50:02 INFO  - jmeter.engine.StandardJMeterEngine: Running the
> test!
> 2010/05/20 21:50:02 INFO  - jmeter.gui.util.JMeterMenuBar:
> setRunning(true,*local*)
> 2010/05/20 21:50:03 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1
> threads for group Upload. Ramp up = 1.
> 2010/05/20 21:50:03 INFO  - jmeter.engine.StandardJMeterEngine: Continue on
> error
> 2010/05/20 21:50:03 INFO  - jmeter.threads.JMeterThread: Thread Upload 1-1
> started
> 2010/05/20 21:50:07 ERROR - jmeter.threads.JMeterThread: Test failed!
> java.lang.OutOfMemoryError: Java heap space
>
>
> At the same server side logs shown as Exception while parsing
> Multipart-form
> request for /uploadsingle.do
> org.apache.commons.fileupload.MultipartStream$MalformedStreamException:
> Stream ended unexpectedly|
>
> I increased the heap size as in jmeter file as HEAP="-Xms1024m -Xmx1024m"
> NEW="-XX:NewSize=1024m -XX:MaxNewSize=1024m"
>
>
> Kindly inform to me how will i proceed with this load test
> --
> Thanks & Regards,
> R.Rakesh
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message