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

Possible memory leak when opening more than 15 editors #62

Open
kittaakos opened this issue Aug 28, 2018 · 2 comments
Open

Possible memory leak when opening more than 15 editors #62

kittaakos opened this issue Aug 28, 2018 · 2 comments

Comments

@kittaakos
Copy link
Contributor

kittaakos commented Aug 28, 2018

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.

@kittaakos
Copy link
Contributor Author

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

No. It does not.

@JanKoehnlein
Copy link
Member

Scheduled for re-evaluation after upgrading to latest Theia and Sprotty.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants