Jump to content
The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now! See more information here ×

How java code runs on BW Engine instances. How memory is allocated


Balarajeshwar s

Recommended Posts

I have bwengine which has java code inside it. There are set of Jar files are prepanded to class path in bwengine. When BW executed the Java code, it actually invoke a method on Jar files, which created DB connections and get some data. now the method returning " [GC overhead limit exceeded at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2336)] ". bwengine is running good. But memory issue with java code. due to this we are forced to restart the engine. I have below questions. Could someone help me on this.

1. How java code will be executed in JVM.

2. Increasing memory on bwengine will it help.

3. Is there any other way we can increase memory.

Thanks

Bala..

Link to comment
Share on other sites

Hi Bala,

The Java Global Instance shared configuration resource allows you to specify a Java object that can be shared across all process instances in a Java Virtual Machine (JVM). When the process engine is started, an instance of the specified Java class is constructed. When the process engine is shut- down if specified, a cleanup method is invoked on the object and the object is released before the engine shuts down. Any Java Method activity can be configured to access the shared Java Global Instance when the process engine runs. Any Java Code activity can access the shared Java Global Instance by invoking the static methods of the configured Java class.

Ideally increasing memory should help this scenario, please try to increase the memory and retest.

You can increase the memory in admin, Application-Configuration-Machine-Server Settings -Max heap Size.

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...