Friday, April 14, 2017

What to do with PermGen space when login WSO2EI 6.1.0

After the successful start of the WSO2 Enterprise Integrator (EI) 6.1.0 I tried to log in the management console and encountered an error java.lang.OutOfMemoryError: PermGen space. Please follow the steps to solve the issue.




 Error
 java.lang.OutOfMemoryError: PermGen space
Dumping heap to /home/rajjaz/Documents/support/wso2ei-6.1.0/repository/logs/heap-dump.hprof ...
Heap dump file created [144981057 bytes in 0.769 secs]
SEVERE:Memory usage is low, parachute is non existent, your system may start failing.
Exception in thread "http-nio-9443-exec-11"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "http-nio-9443-exec-11"



Solutions
  1. Open /wso2ei-6.1.0/bin/integrator.sh
  2.  add the below value  under environment variable named : "JAVA_OPTS"                 
            -Xms256m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m

No comments:

Post a Comment