IcedTea-Web
IcedTea-Web copied to clipboard
JavaConsole causes MemoryLeak and should maybe disabled by default
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