Monday, July 16, 2012

Jmeter result:

To learn about jmeter results(Summary Report, View Result Tree  ETC.) follow:
           http://jmeterresults.blogspot.in

Wednesday, July 11, 2012

Uncaught exception java.lang.outofmemoryerror:

Most of you will be familiar with this error. I am not going with other java problems. I am only concerning with jmeter related problem, and when i was running load test for a web-app with 1500 virtual users, jmeter gave this error. "uncaught exception java.lang.outofmemoryerror:".













In the previous post "http://www.blogger.com/blogger.g?blogID=8863051106567046425#editor/target=post;postID=8667267162068998059"  i talked about heap error and how to solve that problem. But now when when all the setting were correct as well as heap size too i found a new error in jmeter.
This error causes because stack size. Stack size depends upon your cookies and cache in jmeter.
I will just tell you how we can solve that problem.








As you can see in the above image, the set heap size section. When you will open this by editing jmeter.bat file, you will not see the "-Xss64k" section  there.
So to remove the "uncaught exception java.lang.outofmemoryerror: " error just add this section to your jmeter.bat file. Also you can increase the size of stack till 100k as per your system and jmeter behavior

I hope this post will help you threw this..