Re: Cannot start GRT shell in debug (Java OutOfMemory Error)
Posted by: Martin King-Turner
Date: November 22, 2005 09:49AM

This is very strange. I can successfully start eclipse in a JVM in debug mode using the java debug parameters above - i.e.

java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n -Xnoagent -Djava.compiler=NONE -Xmx256m -jar startup.jar

but when I do "grtsh -debug" I get the following:

MySQL Generic Runtime Environment 2.0.11 beta

Type 'help' or '?' for help. Type 'quit' to exit the shell.

Scanning for struct definitions in ./xml ...
Registered 10 struct definition files.
Initializing Builtin modules...
Initializing Java loader...
Listening for transport dt_socket at address: 8000
Error occurred during initialization of VM
java.lang.OutOfMemoryError: unable to create new native thread

The fact that eclipse seems to be OK in debug mode suggests it is not memory that's real problem here, but I can't figure out what the deal is! Any other ideas?

Martin

Options: ReplyQuote


Subject
Written By
Posted
Re: Cannot start GRT shell in debug (Java OutOfMemory Error)
November 22, 2005 09:49AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.