Problem:
Trying to access the iDashboards application throws the below Java error.
Issue:
This is an error that is thrown when the Java Virtual Machine has run out of resources that are necessary to continue the operation. Increasing the memory allocated to the application server will resolve the issue.
Resolution:
Follow the below steps to increase the memory allocated to Tomcat.
- Open Apache Tomcat configuration in the system tray, right click on the service and select 'Configure' option.
- You may need to add a desktop shortcut your path might differ from the one listed.
- Target: "C:\Program Files\iDashboards_SRV\Server\bin\idashboardsW.exe" //MS//iDashboardssrv
- Starts in: "C:\Program Files\iDashboards_SRV\Server\bin\"
- You may need to add a desktop shortcut your path might differ from the one listed.
- On the "Java" tab, adjust up the 'Initial memory pool' size to 512MB and the 'Maximum memory pool' size to 1024MB and click 'OK'.
- Restart Tomcat and monitor the system.
You will need to consult your documentation for other applications servers.
Depending on how much memory your server has and what else is running on it, you might be able to give more memory to Tomcat. For example, if it has 4GB with nothing else significant running on it (like a database server) you can use 512 initial and 1024 max.
Applies To:
- Tomcat 6.0 and greater
- Enterprise
- X Platform
- Enterprise Suite
Comments
0 comments
Please sign in to leave a comment.