Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

Possible memory leak when opening more than 15 editors #62

@kittaakos

Description

@kittaakos

Steps to reproduce:

  • Clone, build and run 41d3656.
  • Open 15 editors.

Although this is just a possible memory leak, we should investigate it.

Error: Possible Emitter memory leak detected. 30 exit listeners added. Use event.maxListeners to increase limit
    at e.checkMaxListeners (event.ts:189)
    at Proxy._event._event.Object.assign.maxListeners (event.ts:155)
    at e.<anonymous> (monaco-text-model-service.ts:66)
    at problem-marker.ts:26
    at Object.next (problem-marker.ts:26)
    at a (problem-marker.ts:26)
Error: Possible Emitter memory leak detected. 30 exit listeners added. Use event.maxListeners to increase limit
    at e.checkMaxListeners (event.ts:189)
    at Proxy._event._event.Object.assign.maxListeners (event.ts:155)
    at e.<anonymous> (monaco-text-model-service.ts:66)
    at problem-marker.ts:26
    at Object.next (problem-marker.ts:26)
    at a (problem-marker.ts:26)

Update:
Bumping up to the next Theia might solve the issue out of the box.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions