What if the load test tool itself can not handle load?
You use load test tools to break application software you are testing. What if the tool itself breaks and the applications under test do not even have a dent?
This is exactly what happened when using JMS protocol in HPPC ( Loadrunner). There is a memory leak in HPPC when using JMS. The mmdrv.exe process invokes JVM (in-process) during use of one of the jms functions (jms_send_message_queue).
During one of our tests we started getting out of memory error. Of course if you increase the JVM heap ( using -Xmx ) the error will be delayed but the fact remains it is leaking memory. It was very embarrassing to tell the application team that our tool is breaking during load testing.
We have been trying desperately to get HP to admit and fix it but they are making us go around in circle. We used JConsole to monitor the JVM and prove to them that there is a leak but they still do not get it. The only thing that is left is for us to now fix the code for them.
In order to use JConsole with loadrunner JMS, you need to add the following in the -Dcom.sun.management.jmxremote in the “Additional VM Parameters” in order for JConsole to connect to the JVM. Once you do that you can see the JVM memory keep on climbing inspite of you manually invoking GC.
Are you listening HP?
Tags: advanced settings, advanced vm parameter, heap, hp, hppc, jconsole, jms, jms protocol, jms_send_message_queue, jmx, jvm, jvm heap, loadrunner, memory leak, mmdrv, mmdrv.exe, remote, vm

October 7th, 2009 at 3:44 pm
Is it a memory leak? or connection leak?
How memory leak is possible in java?
October 7th, 2009 at 3:51 pm
Don’t need to answer the 3rd Q….. it was a joke ;-)
October 6th, 2010 at 11:59 am
I recently ran into the same exact issue in a similar test in which we were using loadrunner to blast thousands of MQ messages in bursts.
June 18th, 2013 at 10:30 am
Youre so cool! I dont suppose Ive learn something like this before. So nice to find anyone with some authentic thoughts on this subject. realy thanks for starting this up. this website is one thing that is needed on the net, someone with somewhat originality. useful job for bringing one thing new to the internet!