Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

HostedModeMemoryProblems

whantana edited this page May 26, 2011 · 4 revisions

Memory Problems in Hosted Mode

If you are experiencing problems with an java.lang.OutOfMemoryError : PermGen space you may try and start WiseUI in hosted mode using the following Java VM parameters:

-Xmx512m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:PermSize=256M -XX:MaxPermSize=512M .

E.g. use it like this:

mvn gwt:run -Dgwt.extraJvmArgs="-Xmx1024M -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:PermSize=256M -XX:MaxPermSize=512M"`