Problem Note 58603: SAS® Environment Manager resources display a status of down (!) and the agent log shows the error "java.lang.OutOfMemoryError: Java heap space"
When you select Resources ► Browse in the SAS Environment Manager web console, all resources that are listed might display a status of down (
), which indicates that the resource is not working.
In addition, the SAS Environment Manager Agent log (agent.log), located in the SAS-configuration-directory/LevN/Web/SASEnvironmentManager/agent-5.x.0-EE/log/ configuration directory, might show Java heap space errors similar to the following:
08-02-2016 01:18:27,427 CST ERROR [AgentDiagnostics] [AgentDiagnostics@61] java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
08-02-2016 01:19:48,200 CST ERROR [SenderThread] [SenderThread@633] Java heap space java.lang.OutOfMemoryError: Java heap space
You can circumvent this problem by using the following workaround:
- When resources display a status of down (
), check the agent.log file (located in SAS-configuration-directory/LevN/Web/SASEnvironmentManager/agent-5.x.0-EE/log/) for the errors listed previously.
- To resolve the Java heap space errors, modify the wrapper.conf file (located in SAS-configuration-directory/LevN/Web/SASEnvironmentManager/agent-5.x.0-EE/bundles/agent-5.x.0/conf/), as follows:
- Locate the following lines:
wrapper.java.additional.2=-Xmx128m
wrapper.java.maxmemory=256
- Replace the lines shown above with the following lines:
wrapper.java.additional.2=-Xmx512m
#wrapper.java.maxmemory=256
- Then, restart the SAS Environment Manager Agent by submitting the following command:
SAS-configuration-directory/LevN/Web/SASEnvironmentManager/agent-5.x.0/bin/hq-agent.sh restart
Operating System and Release Information
| SAS System | SAS Environment Manager | Microsoft® Windows® for x64 | | |
| Solaris for x64 | | |
| Linux for x64 | | |
| HP-UX IPF | | |
| 64-bit Enabled Solaris | | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | medium |
| Date Modified: | 2016-08-24 13:19:48 |
| Date Created: | 2016-07-12 17:09:46 |