[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » Performance
 
RSS feed
 
New topic
Author

java memory problem

Arjun Shastry
Ranch Hand

Joined: Mar 13, 2003
Messages: 1767

Hi,
We maintain Solaris server on which Tibco Business Works processes are running.Each such process is (Java+xml) code with business rules added.Last few days we have found that particular process is consuming twice the memory than required.Total input requests rate is almost same as before and process does not give any error or warning in the log and is not hung any time.
Is it possible that garbage collection/JVM need to be fine tuned?
How to correct this before process might hang in future?

MH
Deepak Bala
Bartender

Joined: Feb 24, 2006
Messages: 4871

we have found that particular process is consuming twice the memory than required


The entire JVM takes double the required memory ?

Is it possible that garbage collection/JVM need to be fine tuned?


It is hard to say without first understanding what is going wrong. Can you replicate this in DEV ? Run it through a profiler. What JDK version do you use ?

SCJP 6 articles - SCJP 5/6 mock exams - SCJP Mocks - SCJP 5 Mock exam (Word document ) - SCJP 5 Mock exam in Java.Inquisition format
Arjun Shastry
Ranch Hand

Joined: Mar 13, 2003
Messages: 1767


The entire JVM takes double the required memory ?

Only one BW process is taking the high memory.(Not sure on JVM )

It is hard to say without first understanding what is going wrong. Can you replicate this in DEV ? Run it through a profiler. What JDK version do you use ?

DEV we did but it did not find the process occupying so high memory.Replicating in DEV did not help much as load/memory everything differs than Production.
We are using JDK 1.5.

MH
Deepak Bala
Bartender

Joined: Feb 24, 2006
Messages: 4871

Load the DEV instance by running some stress tests. You can use a visual VM profiler if your JDK allows. Other profilers include Jprofiler and commercial ones that you can purchase.

SCJP 6 articles - SCJP 5/6 mock exams - SCJP Mocks - SCJP 5 Mock exam (Word document ) - SCJP 5 Mock exam in Java.Inquisition format
Ravi Kiran V
Ranch Hand

Joined: Apr 18, 2009
Messages: 1203

Hi Arjun Shastry ,

Can you please post as how did you solved your problem ??

Thanks


I tried to change the world, but I couldn’t find the source code
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » Performance
 
RSS feed
 
New topic
hibernate profiler