You should be able to set your JAVA_OPTS or MAVEN_OPTS. I wouldn't
worry about Tomcat running as a service on your local machine - I'd
just start it from the command line using "catalina.bat run" - that
way you can see the logs in a console.

Here's what I use in my JAVA_OPTS - I haven't seen a permgen issue in months.

-Xms768M -Xmx768M -XX:PermSize=256m -XX:MaxPermSize=512m
-Djava.awt.headless=true -XX:+CMSClassUnloadingEnabled
-XX:+CMSPermGenSweepingEnabled -XX:+UseConcMarkSweepGC

Matt

On 12/13/07, René Günther <[EMAIL PROTECTED]> wrote:
> I want to change JAVA_OPTIONS when I execute jetty:run. Because when I
> change files, jetty reloads and runs fast into permGen errors. So anyone has
> done it and knows where to set the variables for the jetty plugin on
> Windows? I want to add that I execute the maven command from Eclipse
> (MyEclipse) and sometimes from command line.
>
> Actually I know the settings but on Windows it seems always to be difficult
> to find the right place for the settings. Eg. if tomcat runs as a service it
> wont read the environment variables but the variables specified with
> services.msc. So if you know where to place the settings on Linux it might
> not apply ;-)
>
> Thanks
> René
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to