IcedTea-Web icon indicating copy to clipboard operation
IcedTea-Web copied to clipboard

JavaConsole causes MemoryLeak and should maybe disabled by default

Open AlBundy33 opened this issue 2 years ago • 1 comments

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 https://github.com/karakun/OpenWebStart/issues/530

AlBundy33 avatar Sep 09 '23 11:09 AlBundy33