Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaConsole causes MemoryLeak and should maybe disabled by default #921

Open
AlBundy33 opened this issue Sep 9, 2023 · 0 comments
Open

Comments

@AlBundy33
Copy link

AlBundy33 commented Sep 9, 2023

This is a follow up for #893 because the MemoryLeak in JavaConsole was not fixed in this issue.

The problem is, that the console holds a list with all outputs and is by default only hidden and not disabled.
Therefore the mentioned list grows and grows until an OutOfMemoryException occurs.

A possible fix for this issue would be to set the console by default to disabled.
btw.: what is the purpose of the hidden console? is there some kind of shortcut to make it visibile during runtime?

a better fix would to limit the size of the list so that the OutOfMemory can not happen.
or use a file instead of a list.
or some other fix that avoids the out of memory. :-)

this was also reported in karakun/OpenWebStart#530

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

No branches or pull requests

1 participant