Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Cannot connect to VM(heap size on windows)
Cannot connect to VM [message #515064] Wed, 17 February 2010 15:49
Tim Daley is currently offline 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

Previous Topic:How to get the command from a handler?
Next Topic:Prompt for target in Ant launch config
Goto Forum:
  


Current Time: Thu Oct 23 11:56:13 GMT 2014

Powered by FUDForum. Page generated in 0.02072 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software