You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@drill.apache.org by Bitfox <bi...@bitfox.top> on 2022/03/11 07:02:36 UTC

insufficient memory

Hello

My VM has only 4gb memory, 2gb free for use.
When I run drill-embedded i got the error:

OpenJDK 64-Bit Server VM warning: INFO:
os::commit_memory(0x0000000700000000, 4294967296, 0) failed; error='Not
enough space' (errno=12)

#

# There is insufficient memory for the Java Runtime Environment to continue.

# Native memory allocation (mmap) failed to map 4294967296 bytes for
committing reserved memory.



How can I run it successfully?


Thanks

Re: insufficient memory

Posted by James Turton <ja...@somecomputer.xyz.INVALID>.
That's not much memory for Drill but you can try setting 
DRILLBIT_MAX_PROC_MEM to 2GiB.

https://drill.apache.org/docs/configuring-drill-memory/

If you have a swap partition in the VM you could allocate more memory 
than physical RAM, but be aware that system performance can become 
significantly impacted by the IO rates of the device where you host the 
swap space.

On 2022/03/11 09:02, Bitfox wrote:
> Hello
>
> My VM has only 4gb memory, 2gb free for use.
> When I run drill-embedded i got the error:
>
> OpenJDK 64-Bit Server VM warning: INFO:
> os::commit_memory(0x0000000700000000, 4294967296, 0) failed; error='Not
> enough space' (errno=12)
>
> #
>
> # There is insufficient memory for the Java Runtime Environment to continue.
>
> # Native memory allocation (mmap) failed to map 4294967296 bytes for
> committing reserved memory.
>
>
>
> How can I run it successfully?
>
>
> Thanks
>