insufficient memory for the Java Runtime Environment

911 views
Skip to first unread message

amb...@key.me

unread,
Nov 25, 2015, 4:16:43 PM11/25/15
to rundeck-discuss
Hi,

I see this in the logs. Any idea how I can fix this? This is on an new 64 bit ec2 instance. There aren't any other processes running here. I installed jdk7.

OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000d1ef1000, 41533440, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 41533440 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /var/log/rundeck/hs_err_pid2293.log

Thanks!!

Alex Honor

unread,
Nov 25, 2015, 5:06:10 PM11/25/15
to rundeck...@googlegroups.com
I think that means the max heap size is greater than the RAM available. Can you check your $RDECK/etc/profile (or /etc/rundeck/profile) to see the RDECK_JVM setting. It contains the -Xmx max heap flag.

--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/8476e48b-193b-429d-b55e-ef628f699efe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Alex Honor

[SimplifyOps, Inc | a...@simplifyops.com ]

Be sure to comment and vote on Rundeck Feature Development!

Reply all
Reply to author
Forward
0 new messages