A great deal of work was done lately on the entry editor. One last thing that waves a red flag there are (surprise, surprise) the context menus. Believe it or not, those tooltips are waste more memory than you would think considering those are simple text things.
Let me make it clear: One run with opened editor through the 200 entry example bibfile. This does now only use 30MB of memory on its way. The "required tab" is of course always visible and therefore, the contents of this tab needs to be initialized and filled with data. Now hold your breath: 22MB of those 30MB are the context menus for the text fields.

I have seen that for each of those text fields, every tooltip and every context menu is a new instance. The question is, is it possible to make this more static. Tooltips can surely be initialized once and reused. But maybe it is possible to do this to a certain extent for the whole context menu like the CaseChangeMenu? Tooltips alone would account for 12MB and basically, only the 4 classes under package org.jabref.gui.fieldeditors.contextmenu need to be changed.
Is this possible?
A great deal of work was done lately on the entry editor. One last thing that waves a red flag there are (surprise, surprise) the context menus. Believe it or not, those tooltips are waste more memory than you would think considering those are simple text things.
Let me make it clear: One run with opened editor through the 200 entry example bibfile. This does now only use 30MB of memory on its way. The "required tab" is of course always visible and therefore, the contents of this tab needs to be initialized and filled with data. Now hold your breath: 22MB of those 30MB are the context menus for the text fields.
I have seen that for each of those text fields, every tooltip and every context menu is a new instance. The question is, is it possible to make this more static. Tooltips can surely be initialized once and reused. But maybe it is possible to do this to a certain extent for the whole context menu like the
CaseChangeMenu? Tooltips alone would account for 12MB and basically, only the 4 classes underpackage org.jabref.gui.fieldeditors.contextmenuneed to be changed.Is this possible?