Skip to content

[FEAT] Troubleshooting docs for Java runtime memory errors #119

@mfisher87

Description

@mfisher87

Is this a new feature request?

  • I have searched the existing issues

Wanted change

When upgrading from docker-unifi-controller v7 to docker-unifi-network-application, a new dependency on the docker runtime is introduced. With Docker Engine 19.x (yeah, I know), I get in this loop trying to start the container:

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

Upgrading Docker resolves it.

Reason for change

The error message is a red herring that may distract users from the actual cause. Having some docs in the "Migrating from unifi-controller" section would help users avoid that confusion.

Proposed code change

In the documentation, add:

Older versions of unifi-controller (<=7) support older versions of Docker Engine. Because this image is built on newer versions of the Java base Docker images, it requires a newer version of Docker Engine. If you receive errors like There is insufficient memory for the Java Runtime Environment to continue which can't be explained by actual lack of memory, upgrade Docker Engine to the latest version to resolve.

I'm sure there is a specific version that's required, but I don't know it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions