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

JabRef 4.0.0-beta needing way more ressources than v.3.8.2 #2837

Closed
andipabst opened this issue May 12, 2017 · 7 comments
Closed

JabRef 4.0.0-beta needing way more ressources than v.3.8.2 #2837

andipabst opened this issue May 12, 2017 · 7 comments
Labels
bug Confirmed bugs or reports that are very likely to be bugs status: waiting-for-feedback The submitter or other users need to provide more information about the issue
Milestone

Comments

@andipabst
Copy link

JabRef version 4.0.0-beta on Windows 7 (x86_64)

When using the beta version JabRefs RAM usage is at roughly over 1.000.000K and the CPU usage minimum 25% when it is idle.
For scale: Using the old (v. 3.8.2) version the CPU usage is between 0 and 1% and the RAM is at about 180.000K.

The problem is reproducable and occurs everytime I start JabRef.

@andipabst andipabst changed the title JabRef Beta needing way more ressources than v.3.8.2 JabRef 4.0.0-beta needing way more ressources than v.3.8.2 May 12, 2017
@LinusDietz LinusDietz added bug Confirmed bugs or reports that are very likely to be bugs status: waiting-for-feedback The submitter or other users need to provide more information about the issue labels May 12, 2017
@LinusDietz
Copy link
Member

Thanks for the report @andipabst.

Can you provide us some more specifics? How many databases did you open? How many entries are in your BibDatabase(s)? Does the memory spike fast after opening it or does it increase with time like reported in #2533? Are there any special operations (like performing a search or sorting the table) that increase the memory dramatically?

@andipabst
Copy link
Author

I opened just one database with about 50 entries.

The memory spikes up before I even can see the GUI (I just see the process in the Windows Taskmanager). During the start the Task Manager also reports a CPU usage of about 80% for JabRef.

I just checked: Performing a search increases the memory for roughly the same amount (10.000K) in both versions of JabRef. When I stop typing for a while the memory drops again by that amount.

If I can provide with any other information just ask, I'm willing to help :)

@tobiasdiez tobiasdiez added this to the v4.0 milestone May 14, 2017
@lenhard
Copy link
Member

lenhard commented May 19, 2017

That is weird. On my Win7 with the current development snapshot, I have idle CPU consumption of ~5%, but with several other applications opened including an IDE, and about 1 GB of RAM consumption by JabRef. But I have 4 databases open, one of them with more than 6500 entries.

So I am afraid that I can not really reproduce your performance problem, which might indicate that it comes from a system configuration issue.

What is your java runtime? Could you try out the current development master of JabRef available at http://builds.jabref.org/master/ ?

@lenhard
Copy link
Member

lenhard commented May 30, 2017

@andipabst Any news here with the newest dev version?

@andipabst
Copy link
Author

Sorry, I could not test it until today.
I tired the current dev master snapshot as you suggested and the performance now is quite equal to the old version, just a slightly higher amount of RAM.

So the problem seems to be fixed?

@lenhard
Copy link
Member

lenhard commented Jun 7, 2017

Thanks for testing! There have been quite a few changes and removals of old code in the meantime, in particular regarding groups. Maybe this gave JabRef a little boost.

I'll close this for now, but we'll keep an eye on performance issues.

@lenhard lenhard closed this as completed Jun 7, 2017
@koppor
Copy link
Member

koppor commented Jul 16, 2017

What I stumbled upon while searching for various commons lang replacements: Eclipse Collections.

grafik

grafik

grafik

Maybe, we can reduce our memory by using Eclipse Collections?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs status: waiting-for-feedback The submitter or other users need to provide more information about the issue
Projects
None yet
Development

No branches or pull requests

5 participants