Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java memory problem

 
Arjun Shastry
Ranch Hand
Posts: 1893
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
Arjun Shastry
Ranch Hand
Posts: 1893
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Arjun Shastry ,

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

Thanks

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic