--- layout: default title: Troubleshooting ---

Troubleshooting

This page gives details of some common problems you might have.

Low Memory

When using the InTrace UI to view trace output you may see the following message and then not see any more trace.

*** Warning: Low memory - dropping trace.

This means that the JVM running the GUI Trace Client is running low on memory and is throwing away new trace. You can do one of two things to resolve this.

Small Stack Size

When starting an application with the InTrace agent the JVM process can crash in some circumstances. On Windows this manifests as

An unhandled win32 exception occurred in javaw.exe

This happens when you start the JVM with a stack size of less than 200kb (e.g. using the JVM argument -Xss190k). This is an unfortunate restriction in the current Sun JVM. I have reported the issue to Sun but they have yet to create a public bug to track it.

To resolve this problem you should restart your application and specify a larger stack size e.g.

java -Xss200k (your-app-args-here)

UPDATE (22/05/2011): This appears to have been fixed at some point. I have tested InTrace on 32 bit Windows 7 running Java 1.6u25 and was able to run with -Xss100k.