| Author |
java memory problem
|
Arjun Shastry
Ranch Hand
Joined: Mar 13, 2003
Posts: 1819
|
|
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: 6321
|
|
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
Posts: 1819
|
|
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: 6321
|
|
|
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: 2229
|
|
Hi Arjun Shastry ,
Can you please post as how did you solved your problem ??
Thanks
|
Save India From Corruption - Anna Hazare.
|
 |
 |
|
|
subject: java memory problem
|
|
|