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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...