I am using JMeter to stress a SOAP server and JMeter keeps crashing whenever I simulate a server load of greater than 2 threads. There isn't anything in the log that gives me an indication of the problem, and the server being tested against keeps processing the SOAP request after JMeter crashes. The following is the log from the last test run: 2007/03/17 14:49:09 INFO - jmeter.engine.StandardJMeterEngine: Starting 3 threads for group Thread Group. Ramp up = 1. 2007/03/17 14:49:09 INFO - jmeter.engine.StandardJMeterEngine: Continue on error 2007/03/17 14:49:09 WARN - jmeter.threads.JMeterThread: jmeterthread.startearlier=true (see jmeter.properties) 2007/03/17 14:49:09 INFO - jmeter.threads.JMeterThread: Thread Thread Group 1-1 started 2007/03/17 14:49:10 INFO - jmeter.threads.JMeterThread: Thread Thread Group 1-2 started 2007/03/17 14:49:10 INFO - jmeter.threads.JMeterThread: Thread Thread Group 1-3 started 2007/03/17 14:49:10 INFO - jmeter.threads.JMeterThread: Thread Thread Group 1-1 is done 2007/03/17 14:49:10 INFO - jmeter.engine.StandardJMeterEngine: Ending thread 0 2007/03/17 14:52:49 INFO - jmeter.threads.JMeterThread: Thread Thread Group 1-2 is done 2007/03/17 14:52:49 INFO - jmeter.engine.StandardJMeterEngine: Ending thread 1
There's not enough information here to do anything; and the logfile extract is incomplete. Please *attach* the full jmeter.log. Also were there any errors in the console window? JMeter tries to log all errors, but some are logged to the console.
The problem was shown in the console, I missed it the first time, OutOfMemory. Can resolve, but seems strange that it should be getting out of memory with the default 256M footprint, no input params beyond the SOAP envelope, and only 16M response size. This was with the reading SOAP response turned on.
If you can reproduce the error, please can you post the console error message? We can then see if it is possible to capture the error and log it properly. Thanks!
Exception java.lang.OutOfMemoryError: requested 36052328 bytes for promotion. Out of swap space? This is with 3 simultaneous response of 16M each. 256M starting Heap and 256M max Heap.
Was there no stack trace? Or any other context? Without further information, there's not a lot can be done.
What I posted is the only output in the console. There is no stack trace or dump of any kind.
Which SOAP sampler were you using?
Webservice (SOAP) Request
Try using one of the recent nightly builds.
See also bug 41921
There's not a lot can be done here
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1888