Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Kenneth Bennett   on Apr 25 In Java Category.

  
Question Answered By: Nagina Mian   on Apr 25

We had the same problem on tomcat, our problem was java options.
Unexcepted Garbage Collection caused server  slow down.
Java Options: min and max memory allocation settings.
The maximum memory should be up to 80% of your computers RAM. For example, if you have 512MB of RAM then you should set the maximum memory to around 400MB. To change the memory specifications you need to add this code to the Java Options text area:
-Xms100m -Xmx400
for 1g of RAM (server) and 1g of RAM (Mysql)

maxcount=150maxactive=400 mincount=100

max_connections in mysql=500 was a stable point.

Share: 

 
 
Didn't find what you were looking for? Find more on please help nested exception Or get search suggestion and latest updates.


Tagged: