Hi Dmitry, We are using Linux OS for the application server and Windows for JMeter. We are getting jav.lang.OutOfMemory error. Our JMeter machine is 32 bit processor with 4GB RAM.
Regards, Ragini Thakur -----Original Message----- From: Dmitry Kudrenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 09, 2008 3:21 PM To: JMeter Users List; Dmitry Kudrenko Subject: Re[2]: JMeter goes Out of Memory DK> Greetings, Ragini. Sorry, I skipped your messages about 4 users test. It is strange. What OS do you use? What memory usage do you have in the task manager? Try to inspect JMeter with some profiler tool (JConsole or YourKit Java Profiler, etc). What kind of memory JMeter exceeded (Heap Memory, PermGen space)? DK> How many threads do you start for your test plan? DK> What kind of OutOfMememory Exception do you have? DK> Look to the following article if it is "java.lang.OutOfMemoryError: DK> unable to create new native thread" exception: DK> http://www.egilh.com/blog/archive/2006/06/09/2811.aspx DK> Note about interesting paradox: DK> "the more memory you give to the JVM the more likely you are to get DK> java.lang.OutOfMemoryError: unable to create new native thread" (c) DK> Try to execute test plans on the several JMeter servers. It should DK> help you. RT>> We are using JMeter for Performance testing of one of the critical RT>> application. We are using JMeter for testing Web service calls. RT>> When we execute the test with 4 users, the Jmeter goes out of memory and RT>> we can not proceed with the test runs. RT>> RT>> We are not using any memory intensive listeners in out test plan. We are RT>> using simple data writer. RT>> RT>> The configurations in our Jmeter.bat files are as follows: RT>> RT>> rem See the unix startup file for the rationale of the following RT>> parameters, RT>> rem including some tuning recommendations RT>> set HEAP=-Xms512m -Xmx512m RT>> set NEW=-XX:NewSize=128m -XX:MaxNewSize=128m RT>> set SURVIVOR=-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=50% RT>> set TENURING=-XX:MaxTenuringThreshold=2 RT>> set EVACUATION=-XX:MaxLiveObjectEvacuationRatio=40% RT>> set RMIGC=-Dsun.rmi.dgc.client.gcInterval=600000 RT>> -Dsun.rmi.dgc.server.gcInterval=600000 RT>> set PERM=-XX:PermSize=256m -XX:MaxPermSize=256m RT>> set DEBUG=-verbose:gc -XX:+PrintTenuringDistribution RT>> RT>> JMeter machine configuration: RT>> RT>> 32 bit processor and 1.88GHz , 2 CPU and 4GB RAM RT>> RT>> Application server configuration: RT>> RT>> 64 bit processor, 2 CPU and 8GB RAM RT>> RT>> We also tried changing the heap size to 1024m but, after that when we RT>> run the Jmeter we get the error as JVM could not be initialized. RT>> RT>> Please suggest how we can solve this problem. RT>> RT>> Regards, RT>> Ragini Thakur -- Regards, Dmitry Kudrenko ARDAS group http://ardas.dp.ua --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] "Legal Disclaimer: This electronic message and all contents contain information from Cybage Software Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is strictly prohibited. If you have received this electronic message in error please notify the sender by reply e-mail to and destroy the original message and all copies. Cybage has taken every reasonable precaution to minimize the risk of malicious content in the mail, but is not liable for any damage you may sustain as a result of any malicious content in this e-mail. You should carry out your own malicious content checks before opening the e-mail or attachment." www.cybage.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

