-
1. Re: Enable loadtime weaving from IDE
rob.stryker Jan 23, 2007 12:55 PM (in response to bossy)As per JIRA (http://jira.jboss.com/jira/browse/JBIDE-429?page=all) two of the argument tabs were misnamed, stop and twiddle. Start args were still start args though, so that is the correct place for it. Start args - vm args
Because eclipse is launching jboss directly in its memory space, you need to start ECLIPSE with more memory first using standard -Xblahblah args (lemme see if I can find them for you).
http://blog.xam.dk/archives/58-Tracking-down-causes-of-exceptions-in-Eclipse.html A good post by Max on debugging eclipse, you can use that to keep an eye on your memory and figure out what exactly is happening there.
http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/java.html Java command options. You're going to want ot look at -Xmx and -Xms and start eclipse with those arguments. That should increase the memory available to eclipse, and thus to jboss (since jboss would be running in eclipse)
Good luck. -
2. Re: Enable loadtime weaving from IDE
maxandersen Jan 24, 2007 3:57 AM (in response to bossy)"rob.stryker@jboss.com" wrote:
Because eclipse is launching jboss directly in its memory space, you need to start ECLIPSE with more memory first using standard -Xblahblah args (lemme see if I can find them for you).
huh ? I was under the distinct impression we were running jboss in a seperate process......why are we running jboss *inside* eclipse ? What does that give us ? -
3. Re: Enable loadtime weaving from IDE
rob.stryker Jan 24, 2007 4:09 AM (in response to bossy)Max: I think you're right. Bossy: try using those arguments as vm args in the launch config for your server
-
4. Re: Enable loadtime weaving from IDE
bossy Jan 26, 2007 6:08 AM (in response to bossy)Thanks.
For those who might be interested in the solution - I put these VM arguments in "Start Args" tab in Launch configuration:-Xms128m -Xmx512m -javaagent:C:\APPS\jboss\jboss-4.0.4.GA\server\default\lib\pluggable-instrumentor.jar