You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by Saravanan A <as...@alphaworkz.com> on 2014/11/18 16:40:01 UTC

error='Cannot allocate memory' (errno=12)

Hi,

when i am try to query on 8million record it is throwing the following
error..

This is my query:

select "studentid" as "Student Id","classid" as "Class Id" from
"sbisd_studentgrades" group by "Student Id","Class Id";

or

select count("studentid") from "sbisd_studentgrades" group by
"studentid","classid";

Error Message is :

OpenJDK 64-Bit Server VM warning: INFO:
os::commit_memory(0x0000000081500000, 15204352, 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 15204352 bytes for
committing reserved memory.
# An error report file with more information is saved as:
# /tmp/jvm-4063/hs_error.log


Help!!!



Regards,
Saravanan.A