Tuesday, June 5, 2018

Hyperion 11.1.2.4 and Virtual Machine error - Insufficent memory for the Java Runtime Environment

Recently we had a snafu where 2 of my Hyperion services, APS and EPM Web, were not starting....i ran the validate.bat command from the Foundation server and came across this exciting log file.

hs_err_pid3444.log in the folder below (E is where my Hyperion is installed)
E:\Oracle\Middleware\user_projects\epm-fnd\config\validation\11.1.2.0

Log file content was saying that Native memory allocation failed to allocate.

# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 1122576 bytes for Chunk::new
# Possible reasons:
#   The system is out of physical RAM or swap space
#   In 32 bit mode, the process size limit was hit
# Possible solutions:
#   Reduce memory load on the system
#   Increase physical memory or swap space
#   Check if swap backing store is full
#   Use 64 bit Java on a 64 bit OS
#   Decrease Java heap size (-Xmx/-Xms)
#   Decrease number of Java threads
#   Decrease Java thread stack sizes (-Xss)
#   Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
#  Out of Memory Error (allocation.cpp:317), pid=3444, tid=7848
#
# JRE version: 6.0_35-b52
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.10-b01 mixed mode windows-amd64 compressed oops)


So i reduced the Java Heap Size for Min/Max for some of the services.  And restarted all the services and everything worked. 

I thought i would share this nice tip that i discovered.


No comments:

Post a Comment