No snapshot

Questions about YourKit Java Profiler
Post Reply
kevinoneill
Posts: 8
Joined: Thu Jan 13, 2005 4:12 am

No snapshot

Post by kevinoneill »

Hi

I'm running EAP 504 on the Mac. When running junit tests in Eclipse 3.1M4 i get the following error and no generated snapshot.

Code: Select all

[YourKit Java Profiler 4.0 EAP #504] Using JVMPI

[YourKit Java Profiler 4.0 EAP #504] CPU tracing is started
[YourKit Java Profiler 4.0 EAP #504] Allocations recording is started
[YourKit Java Profiler 4.0 EAP #504] Listening on port 10001...
Exception in thread "main" java.lang.IllegalArgumentException
	at com.yourkit.runtime.CaptureSnapshotRequestHandler.handleRequest(CaptureSnapshotRequestHandler.java:33)
	at com.yourkit.runtime.RequestServer.captureMemoryOnExit(RequestServer.java:289)
	at java.lang.Shutdown.halt(Native Method)
	at java.lang.Shutdown.exit(Shutdown.java:211)
	at java.lang.Runtime.exit(Runtime.java:90)
	at java.lang.System.exit(System.java:715)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

Do you capture CPU or memory snapshot on application exit?
kevinoneill
Posts: 8
Joined: Thu Jan 13, 2005 4:12 am

Post by kevinoneill »

I was trying to capture both. I've just noted that 508 is out so I'll give it a shot.

-k.
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

we have published #508 to fix this critical problem. Problem should go away
kevinoneill
Posts: 8
Joined: Thu Jan 13, 2005 4:12 am

Post by kevinoneill »

508 ... all good :)
Post Reply