|Re: Error when launching debugger from Eclipse [message #748587 is a reply to message #748449]
||Mon, 24 October 2011 19:28
| Larry Isaacs
Registered: July 2009
On 10/24/2011 1:47 PM, Billy Blanks wrote:|
> I am new to Eclipse and I am having trouble launching the debugger.
> Every time I try to launch it, I get the following message: 'Launching
> JBoss v4.0 at localhost' has encountered a problem. Cannot connect to
> VM. In the details section of the pop-up is the following text: Cannot
> connect to VM socket closed. The Eclipse console has the following text:
> Error occurred during initialization of VM Too small initial heap size.
> Just trying to run the application from within Eclipse also fails. There
> is no pop-up however and the message displayed in the Eclipse console
> is: Error occured during initialization of VM Too small initial heap.
> This is very strange to me because I am able to launch my server
> (outside of Eclipse) with no problem.
> I am running Windows 7 64-bit, Eclipse Helios R2, Java 1.6.0_27 and
> JBoss 4.0.3SP1. I hope this problem that I am experiencing isn't so
> trivial that it wont be answered as I am very much in need of help.
> Thank you in advance,
In the Debug view of the Debug perspective, do you see a terminated
launch for "JBoss v4.0 at localhost". If so, right-click on the
"javaw.exe" item in the tree and select Properties. This dialog will
reveal the command line used to launch JBoss. What are the -Xms and
-Xmx values in this command?
Powered by FUDForum
. Page generated in 0.02784 seconds