Solving Birt \"OutOfMemoryError: PermGen space\" Errors

kpeters
edited July 28, 2021 in Analytics #1
<p>While using the BIRT Report Designer, you may experience crashes without warning. Something similiar to the following is seen in the log file:</p>
<blockquote style=\"margin-right: 0px;\" dir=\"ltr\">
<p><span style=\"font-family: Courier New,Courier,monospace;\">!ENTRY org.eclipse.ui 4 0 2006-11-02 11:57:42.951<br />!MESSAGE PermGen space<br />!STACK 0<br />java.lang.OutOfMemoryError: PermGen space</span></p>
</blockquote>
<p>This type of error has been reported frequently when using Eclipse and may not be related to BIRT. Increasing the PermGenSize of the JVM usually resolves the issue. You can use a command line similiar to the following to start Eclipse:</p>
<blockquote style=\"margin-right: 0px;\" dir=\"ltr\">
<p><span style=\"font-family: Courier New,Courier,monospace;\">eclipse.exe -vmargs -Xmx512m -XX:MaxPermSize=256m</span></p>
</blockquote>
<p>Adjust the -Xmx argument according to your machine\''s available RAM. Try setting MaxPermSize to 256m and increase if the problem persists.</p>
<p>You should also be able to set this in the eclipse.ini file in the root directory of the installation.</p>