WASUser,
I haven't solaris to test but I think that this properties are what you are looking for:
-XX:ErrorFile=./hs_err_pid.log -> If an error occurs, save the error data to this file.
-XX:HeapDumpPath=./java_pid.hprof -> Path to directory or filename for heap dump. Manageable. (Introduced in 1.4.2 update 12, 5.0 update 7.)
-XX:-HeapDumpOnOutOfMemoryError -> Dump heap to file when java.lang.OutOfMemoryError is thrown. Manageable. (Introduced in 1.4.2 update 12, 5.0 update 7.)
Java HotSpot VM Options
www.oracle.com/technetwork/java/javase/t... hope this helps.
regards