You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Edwin Quijada <li...@hotmail.com> on 2016/05/09 16:13:59 UTC

Memory Problem

I am getting this error on my server
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00007fe63ff40000, 262144, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 262144 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /var/lib/tomcat8/bin/hs_err_pid14264.log
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00007fe64b5f8000, 12288, 0) failed; error='Cannot allocate memory' (errno=12)
[thread 140627084805888 also had an error]


My server has 2 GB memory and I have 1024mb for Maxmen in catalina.opts

How must be the memory amount ?


TIA

Re: Memory Problem

Posted by Leon Rosenberg <ro...@gmail.com>.
Well the most obvious way to determine it is to lower your settings unless
it works, then lower it a little bit more.

regards
Leon

On Mon, May 9, 2016 at 6:13 PM, Edwin Quijada <li...@hotmail.com>
wrote:

> I am getting this error on my server
> Java HotSpot(TM) 64-Bit Server VM warning: INFO:
> os::commit_memory(0x00007fe63ff40000, 262144, 0) failed; error='Cannot
> allocate memory' (errno=12)
> #
> # There is insufficient memory for the Java Runtime Environment to
> continue.
> # Native memory allocation (mmap) failed to map 262144 bytes for
> committing reserved memory.
> # An error report file with more information is saved as:
> # /var/lib/tomcat8/bin/hs_err_pid14264.log
> Java HotSpot(TM) 64-Bit Server VM warning: INFO:
> os::commit_memory(0x00007fe64b5f8000, 12288, 0) failed; error='Cannot
> allocate memory' (errno=12)
> [thread 140627084805888 also had an error]
>
>
> My server has 2 GB memory and I have 1024mb for Maxmen in catalina.opts
>
> How must be the memory amount ?
>
>
> TIA
>