Team Elements

Status: Caution PostgreSQL Open Source Initiative (OSI) Java
PUBLIC PROFILE

Back to topics

Issues and Open Discussion

Out of memory error

You need to be logged in to post messages

Out of memory error

7/24/2007 11:23 AM EDT

After installing the centric CRM, i got an error message like this:
java.lang.OutOfMemoryError:Java heap Space.
What do i do to correct it?

1. 7/24/2007 1:48 PM EDT (edited) by Moderator

I answered this for you in an email but I will repost what I said since it might have others because this is common issue.

How much memory do you have on your system? I assume you have atleast 1 GB or more. In the installation pdf it explains to the installer that you need to do a setting on the lines of:

export JAVA_OPTS ="-Xms(memory size) -Xmx(memory size)m -XX:PermSize=64m -XX:MaxPermSize=128m"

This should help you allocate more memory for the jsp files to compile. Try reinstalling it again and let me know how it goes.

Brandon Antone
Sales Engineer
Centric CRM

2. 7/24/2007 2:58 PM EDT
Default user photo

By Matt Rajkowski

Concursive Corporation
Product Design

airplane-icon-100x100.png

BTW, the error is generated because there is most likely a memory leak in Apache Tomcat's JSP compiler.

3. 7/25/2007 3:41 AM EDT

Hi Brandon,
I reinstalled but it still gave me the same error message. I have about 25GB space on my system, what shld i do next?

4. 7/25/2007 3:55 AM EDT

During the reinstallation, when i got to the last section that has a tab that says compile JSPs, i clicked the tab and it said the requested page could not be found. That i think is the reason why i am getting that error message.What do i do about compiling the JSPs, is there another way round it?

5. 7/25/2007 8:59 AM EDT

Make sure you set the environment variables mentioned above before attempting a reinstallation.

5 results found