2 Replies Latest reply on Apr 22, 2011 10:09 AM by Martin Kultermann

    java.lang.OutOfMemoryError: PermGen space starting plain vanilla EAP 5.1

    Martin Kultermann Newbie

      Hi everyone, I just downloaded and installed the standard plain vanilla EAP 5.1 on a 64 bit Win 2008 R2 server with 12 Gig of ram.


      I set it up to run as a service and keep running into this exception either during the start-up process or after a few minutes in the Admin Console usually when I try to configure data sources.


      I tried tweaking the Java Options as follows:


      1. changed Heap and Perm Size: -Xms4096m -Xmx4096m -XX:MaxPermSize=2048m


      2. added: -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled


      It just keeps running out of memory after a very very short time.


      Any suggestion would be greatly appreciated.