Open ThiloteE opened 2 years ago
Running heap dump analysis using jxray provided some interesting insights into JabRef's memory usage. The most interesting for me was that we have ~138MB of off-heap memory allocated (still don't know how and when it gets allocated) and many duplicated SimpleStringProperty and SimpleBooleanProperty objects around ~40MB of overhead.
It also discovered some memory leak candidates:
This meta-issue is here to provide a starting point for anybody who wants to work on performance issues and point them to related literature and utilities. It also keeps track of certain bugs related to performance degradation.
I would ask you to NOT START A DISCUSSION here. Comments may be hidden that do not add to the tools and documentation section.
JabRef's performance problems:
Solution
Tools and documentation:
How to test:
How to create a large database:
cd
into your Download directorypython3 bib-file-generator.py