Skip to main content
1-Visitor
February 21, 2012
Question

Method Server getting crash

  • February 21, 2012
  • 1 reply
  • 4731 views

Why I am getting the exception "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: Java heap space" and for this the method server is getting crash.

For more clarification, there are 2 Application server and this is managed by a load balancer but still why maximum request is going to only one server only?

1 reply

1-Visitor
February 23, 2012

To begin with, what version of Windchill are you using and what environment is it running on?

1-Visitor
February 23, 2012

The version is Windchill PDMLink 9.1 M60.

This is a clustered architecture. I mean to say there are replica servers, one background server and 2 application server. Background server is used for background process to run like different Queues. Application servers are used for application process like login request etc. Here we are using a hardware load-balancer.

12-Amethyst
February 24, 2012

The real questions with an out-of-memory error are:

  1. What were you (or your users) doing at the time? Which operation(s)? With how much data?
  2. How much memory was allocated to the process in question? What are the JVM settings in general?

This much should give those with experience some indication as to whether one should expect success with the memory you have allocated.

As for what's using the memory, that requires a heap dump and detailed analysis by technical folk, e.g. in the context of a customer support call. Any recent JVM should allow a heap dump to be acquired by adding -XX:+HeapDumpOnOutOfMemoryError and -XX:HeapDumpPath={path to directory or filename for heap dump} to the JVM options for the process in question (i.e. the method server in this case).