wood burning stoves 2.0*
The moose likes Performance and the fly likes java memory problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "java memory problem" Watch "java memory problem" New topic
Author

java memory problem

Arjun Shastry
Ranch Hand

Joined: Mar 13, 2003
Posts: 1874
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
Posts: 6661
    
    5

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 - More SCJP Mocks
Arjun Shastry
Ranch Hand

Joined: Mar 13, 2003
Posts: 1874

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.
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

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.
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi Arjun Shastry ,

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

Thanks


Save India From Corruption - Anna Hazare.
 
Consider Paul's rocket mass heater.
 
subject: java memory problem
 
Similar Threads
Application has all memory params set, Still Consumed Memory is way too high
java.lang.OutOfMemoryError
What is a process?
Threshold of Memory Consumtion
Monitoring memory used by a process