Skip to content

OutOfMemoryError in CodeServer after multiple unexpected failed recompiles #10117

Open
@jnehlmeier

Description

@jnehlmeier

GWT version: HEAD


While encountering #10116 I did multiple recompiles via CodeServer to figure out the root cause of the issue. All these recompiles failed with the mentioned NPE. Finally after discovering the workaround the compile continued but failed with an OutOfMemoryError.

It looks like CodeServer or Compiler do not cleanup heap correctly if an unexpected exception is caught in GwtAstBuilder.createMembers() and rethrown as InternalCompilerException.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions