de-jcup / eclipse-asciidoctor-editor

An eclipse editor for asciidoctor files
https://marketplace.eclipse.org/content/asciidoctor-editor
Other
58 stars 15 forks source link

Memory usage of the ASP process #413

Open odrotbohm opened 2 years ago

odrotbohm commented 2 years ago

Simply opening a couple of Asciidoctor files in 2.5 of the editor lets the memory consumption of the ASP server quickly raise to multiple GB quickly. I've opened 10 documents, added a minor change and saved them. The Java process grew to 3.67 GB and doesn't shrink back if the files are closed.

I would appreciate it if the server was shut down after the last Asciidoctor document was closed so that the memory is not unnecessarily consumed.

Switching to a locally installed Asciidoctor (via the preferences) of course solves that issue.

de-jcup commented 2 years ago

Hmmm... does not happen on my Linux machine.

Here some questions from my side:

  1. Did this happen with 2.4 as well?
  2. Could you please provide me an example setup (as a zip file inside this issue) where I can try to reproduce?