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

very high CPU usage after 20-30 sec running programm, ganttproject is total unresponsive #784

Closed
GoogleCodeExporter opened this issue Jun 28, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

Affected:
ganttproject_2.5.5-r1256-1_all.deb,
ganttproject_2.6-r1473-1_all.deb,
ganttproject_2.6.1-r1499-1_all

on:
Ubuntustudio 12.04,
3.2.0-40-lowlatency (#43-Ubuntu SMP PREEMPT Wed Apr 3 18:25:34 UTC 2013),
Xfce,
oracle-java7,
1 GB RAM,
i-686, Intel(R) Celeron(R) M CPU 530  @ 1.73GHz,

Steps to reproduce:
1. Start Ganttproject
2. Wait 20-30 Sec.
3. very high cpu usage, software is total unresponsive

Additional information - file stack.txt in Attachment

Original issue reported on code.google.com by vadim.he...@gmail.com on 29 Apr 2013 at 3:31

Attachments:

@GoogleCodeExporter
Copy link
Author

According to the stack trace, it is having hard time registering fonts. Do you 
have lots of them, by any chance? Or maybe a sort of directory loop? Try 
removing e.g. 

<dir name="/usr/share/fonts/truetype" absolute="true"/>

from plugins/org.ganttproject.impex.htmlpdf/plugin.xml

Original comment by dbarashev on 29 Apr 2013 at 12:35

@GoogleCodeExporter
Copy link
Author

Yes, it works after I commented out the line. After that, I did some research 
and found that the reason was the lots of fonts in the metapackage 
ubuntustudio-fonts-meta.
As a test case, I have restored plugin.xml and deleted two largest font 
subfolders: aenigma and larabie. It was enough to successfully start 
ganttproject. But the memory consumption was too high 285 Mb (without truetype 
fonts - 53 Mb). 

Due to the fact that ubuntustudio-fonts-meta is a standard package, and also 
because of the unaffordable relationship between the number of fonts and memory 
consumption, I think that the proposed solution can not be a long-term solution 
and must be fixed on the another way.

Original comment by vadim.he...@gmail.com on 29 Apr 2013 at 4:06

@GoogleCodeExporter
Copy link
Author

Similar problem was fixed in GP 2.6.5 (see issue #875) so I believe this one is 
also fixed.

Original comment by dbarashev on 20 Mar 2014 at 12:40

  • Changed state: Fixed
  • Added labels: __Fixed-In_2.6.5

@GoogleCodeExporter
Copy link
Author

Original comment by dbarashev on 22 Sep 2014 at 12:23

  • Changed state: Verified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant