NoteCase consumes CPU

Running NoteCase 1.9.8 in Jaunty pup, it is using 57% of CPU time, making everything sluggish.

I compiled it in Puppy 412, tested in Jaunty-pup, same problem. I tried NoteCase 1.9.1 from Puppy 412, same problem.

So, I have booted up pup 413, running NoteCase 1.9.1 right now. No problem, it's using hardly any resources.

Hmmm, I notice also that Xorg is also much busier in Jaunty-pup.


Posted on 16 Apr 2009, 9:14


Comments:

Posted on 16 Apr 2009, 18:00 by Terryphi
Notecase 1.9.8 on Jaunty
I am running Ubuntu Jaunty and have found that performance and CPU usage is improved by this NoteCase setting:

Edit>Configure Notecase> Global

Check use system language settings.

It also solved the problem with an irritating mouse pointer flicker when running NoteCase.


Posted on 16 Apr 2009, 20:18 by BarryK
Fixing NoteCase
Amazing, did that and 'top' (see System menu) shows Notecase down round 3 - 5 in the resources-hogging contest. previously it was number 1.

You would have been getting the flickering mouse pointer because NoteCase was hogging resources, on the "proper" Jaunty too!

Anyway, thanks for that, I'll set that as the default for the package.

Something is screwed up with locale handling in NoteCase. If I start it from a terminal, regardless whether your fix is applied or not, get this:

(process:20897): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.


But, other apps, like Geany etc., don't have this problem, so I don't think locale is really broken.

I wonder if we can compile NoteCase with '--disable-nls', might fix it.



Posted on 22 Apr 2009, 15:25 by SilverWave
Notecase High CPU usage - fixed
>Configure Notecase > Global > Use System Language Defaults

Thanks that fixed the same issue in jaunty 9.04-rc

Down from a constant CPU high of 25% to normal <1%


Posted on 7 May 2009, 6:54 by bubo
the opposite
here, with jaunty 9.04 amd_64, worked the opposite: normal cpu usage with "use system language settings" *un*checked.


Posted on 8 May 2009, 9:26 by BarryK
Re: notecase
Hey, would someone report this to the Notecase developer? Maybe give link to this blog thread.



Posted on 6 Aug 2009, 5:41 by Sergey.Kishchenko
Thanks
Thanks, this fix helped on my Gentoo installation.


Posted on 27 May 2012, 3:44 by Andrew McN
Re: notecase

On ubuntu I find setting Edit>Configure Notecase> Global as noted by Terryphi works. Changing the setting back does not cause the problem to occur again.

BarryK: Notecase is no longer supported by the original developer. Don't expect a fix there.




Posted on 12 Sep 2012, 22:40 by Wolfgang
Helps on Kubuntu 12.04 too
I have compiled notecase on Kubuntu 12.04, to get rid of nasty libgnomevfs (or similar), providing the missing "#include <stdio.h>s where necessary.
Result: Same "50%+ CPU load thing".
And the ">Configure Notecase > Global > Use System Language Defaults" ... helped!

Thanx, thanx, thanx, because notecase is essential for my daily work!


Posted on 25 Sep 2012, 16:36 by Wolfgang
Problem is back
Out of the blue, the problem is back and cannot be fixed with the "use system language settings" trick anymore.