Studio gives a JVM Terminated with exit code -1 or an internal error occurred during: "Building workspace" with java.lang.OutOfMemoryError: PermGen space error.
book
Article ID: KB0094496
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
-
Not Applicable
-
Description
Resolution: Description: ============ Window pops up with the error message of java.lang.OutOfMemoryError: PermGen space error. Note PermGen stands for Permanent Generation and is memory space separate from the Heap Space. It is for Classes and internal JVM objects.
Environment: ========== Known to happen on Windows XP and possible other platforms.
Symptoms: ========= Please attached resolution document. When running jcosole, which is part of JDK 1.6, you will see that there is a missing XX:MaxPermSize setting in the VM Arguments. The default size for PermGen space is 64 megabytes.
Cause: ===== The virtual memory settings are incorrect to use Studio for the hardware configuration on this machine.
Resolution: ========= The TIBCO_HOME\\be\4.0\studio\eclipsestudio.ini controls the setting for PermGen in the -vmargs section. Typical settings look like: -vmargs -Dacl.config.path=configuration/ACL.xml -Xms1024m -Xmx1024m -XX:MaxPermSize=256m
If -XX:MaxPermSize=256m is instead on the line: "C:/tibco_401/be/4.0/eclipse-platform/eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731" or on the line immediately after remove it from there.
1). Try setting -XX:MaxPermSize=256m to 128m.
2). If that does not work then lower -Xms to 512m. This setting controls the start up size for Heap Size.
3). If that fails then set -Xmx to 756M .
Issue/Introduction
Studio gives a JVM Terminated with exit code -1 or an internal error occurred during: "Building workspace" with java.lang.OutOfMemoryError: PermGen space error.
Attachments
Studio gives a JVM Terminated with exit code -1 or an internal error occurred during: "Building workspace" with java.lang.OutOfMemoryError: PermGen space error.
get_app