Skip to content

low memory limit for the quarkus devfiles which results in OOM during execution of the 'init-compile' command #768

@ibuziuk

Description

@ibuziuk

/kind bug

Which area this bug is related to?

/area registry

Problematic devfiles:

Bug Summary

memory limit set in the devfile for tools container is 512Mb which is failing on startup with:

Detected unrecoverable event FailedPostStartHook: Exec lifecycle hook ([/bin/sh -c cd $PROJECTS_ROOT mvn -Dmaven.repo.local=/home/user/.m2/repository compile]) for Container "tools" in Pod "workspace23fd164cde3a477d-6bd5cf85ff-6tzdz_ibuziuk-che(9d894efc-bd8f-4e10-984c-aa2312bf17bd)" failed - error: command '/bin/sh -c cd $PROJECTS_ROOT mvn -Dmaven.repo.local=/home/user/.m2/repository compile' exited with 137: , message: ""
memoryLimit: 512Mi ## default app nowhere needs this but leaving room for expansion.

To Reproduce:

Start quarkus devfile with Eclipse Che

image

Expected behavior

Workspace is started without problems

Suggestion on how to fix the bug
Increase memory limit for the tools container

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions