How can I prevent the SilkPerformer Recorder from hanging when recording Java RMI traffic?
We have seen on rare occasions that when using the SilkPerformer Java Recorder to record the RMI/IIOP traffic generated by certain Java Applications that the SilkPerformer Java Recorder may appear to hang. If this occurs you should consider passing increasing the memory size and/or reducing the thread stack size; this can be done by passing the following java commands from SilkPerformer to the Java virtual Machine.
By going to: SETTINGS | ACTIVE PROFILE | JAVA | ADVANCED | COMMAND LINE OPTIONS
And entering the following command “-Xms128m -Xmx512m -Xss2048k” which does 2 things:
1) Increase the size of the java Heap size. You can You can increase the Memory Heap size by running with the -Xmx option:
java -Xms -Xmx -Xms128m -Xms512m
2) Reduce the default stack size for threads – as this can cause java to run out of memory. You can reduce your stack size by running with the -Xss option. For example: java -Xss64k
See the following FAQ for further details on the above commands:
NB. If implementing the above advice does not resolve the issue then please open a new case with Technical Support.