performance - why does Jetty not use all allocated memory? -


We develop webapps with Grails. The productive web site runs on Jetties. We used Jmator to perform demonstration tests and run-up to analyze JT's memory savings.

We started the parameter -Xms1500m-Xmx1500m with the Jetty, so in yourkit we can also see that allocated memory is 1,5gb. But Jetties do not always use it, always save 300 to 500 meters and poor performance.

  • The CPU is not full, every time only 50%
  • Jetties are running with default settings, 6.1.21 is used <
  • MySQL queries are simple, the DB size is small and runs on the same machine as JT, the problem can not be.
  • Log on to the HDDA file manager
  • < / Li>

    If yourkit shows the number of live threads to about 60

, then we use all the allocated memory for JT to perform better. How can I do?

Thank you very much!

The problem is probably not memory, it looks like you have enough.

You may have other points of dispute, for example, unique locks

I recommend that you take many snapshots of your thread, to check that where they are trapped. You should see the dispute.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -