# Java Runtime Environment has Insufficient Memory

**URL:** <https://forums.docker.com/t/java-runtime-environment-has-insufficient-memory/89166>\
**Category:** Docker Desktop\
**Tags:** build\
**Created:** [February 18, 2020, 2:59am UTC](https://forums.docker.com/t/java-runtime-environment-has-insufficient-memory/89166 "2020-02-18T02:59:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattjohnson1](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/mattjohnson1/32/26149_2.png) [@mattjohnson1](https://forums.docker.com/u/mattjohnson1)\
**Post date:** [February 18, 2020, 2:59am UTC](https://forums.docker.com/t/java-runtime-environment-has-insufficient-memory/89166/1 "2020-02-18T02:59:32Z")

</div>

Hello,

I have encountered this error when I tried to create a Docker container:

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

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

I am on Docker for Windows. I have tried increasing the RAM for my VM in HyperV Manager, but to no avail. I would really appreciate some help! Here is the link to the GitHub repository with all of the build files:

> **[ProjectSidewalk/SidewalkWebpage](https://github.com/ProjectSidewalk/SidewalkWebpage)**
>
> Project Sidewalk web page. Contribute to ProjectSidewalk/SidewalkWebpage development by creating an account on GitHub.
