Cannot connect to VM [message #515064] |
Wed, 17 February 2010 15:49 |
Tim Daley Messages: 6 Registered: July 2009 |
Junior Member |
|
|
When debugging an EclipseLink program, I have a problem with heap size on Windows when using -Xms64m. If I increase the heap size to -Xms96m, then I get "Cannot connect to VM" and the following stack trace:
java.net.SocketException: socket closed
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at org.eclipse.jdi.internal.connect.SocketTransportService.acce pt(SocketTransportService.java:95)
at org.eclipse.jdi.internal.connect.SocketTransportImpl.accept( SocketTransportImpl.java:56)
at org.eclipse.jdi.internal.connect.SocketListeningConnectorImp l.accept(SocketListeningConnectorImpl.java:135)
at org.eclipse.jdt.internal.launching.StandardVMDebugger$Connec tRunnable.run(StandardVMDebugger.java:107)
at java.lang.Thread.run(Unknown Source)
my session data is eclipse.buildId=I20090611-1540
I'm using jdk1.6.0_10
[Updated on: Wed, 17 February 2010 15:50] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02463 seconds