Profiling a Play framework application (2.0.2) through VisualVM

Viewed 4860

I'm having some serious problems regarding my Play! Applications performance. I already tried to change the server and the data base, but the slowness persists.

Using Firebug to measure my http requests I found out that they are taking around 20 seconds just to start replying.

So my last hope is to use VisualVM to profile my application and find its bottle necks. But I don't know the proper way of passing some arguments like -Dcom.sun.management.jmxremote without messing with the global JAVA_OPTS variable.

Thanks again!

2 Answers
Related