[jboss-user] [JBoss AOP] - Re: Enable AOP while running jboss in eclipse IDE

rob.stryker@jboss.com do-not-reply at jboss.com
Thu Jun 7 11:57:41 EDT 2007


you're correct in your observation that launching jboss from eclipse does *not* use the run.bat or run.sh scripts. 

Therefore, you'll need to add the command line args directly to the launch configuration (as you tried).  If you run into memory issues, you'll want to try starting eclipse or jboss with  the -Xms and -Xmx command line parameters to increase the allocated heap memory.

It could also turn out to be an issue with using too much permgen memory, which (I think) is the case when lots and lots of classes are loaded. If that turns out to be the answer, you'll want to try to start eclipse or jboss with the -XX:MaxPermSize=256m argument, replacing 256m with a suitable amount for your needs. 

First try using those arguments from the launch configuration for launching jboss. If that doesn't work, try starting eclipse with those arguments. 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052212#4052212

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052212



More information about the jboss-user mailing list