Page 2 of 3

Re: High-Logic Font Management Service revs too much

Posted: Wed Nov 01, 2017 10:51 pm
by Erwin Denissen
I'll contact you to see if we can locate the cause of this issue.

Re: High-Logic Font Management Service revs too much

Posted: Thu Dec 26, 2019 11:39 pm
by CraftedDesigns
Hi, I am also experiencing this (along with high memory usage) and am not even running the program. Also, cannot even get the program to run again after uninstalling and reinstalling. Won't go past the "Initializing" on the startup splash screen. I don't believe they are related, but important to note.

Re: High-Logic Font Management Service revs too much

Posted: Fri Dec 27, 2019 12:56 am
by Erwin Denissen
The most recent update of MainType contains several improvements related to these issues. What version of MainType do you have?

Re: High-Logic Font Management Service revs too much

Posted: Thu Jan 09, 2020 11:02 pm
by hlff
I confirm that in MainType 9.0 this issue is worse.

This is representative of the periodic CPU spiking occurring even while the MainType app isn't running:

high-logic2.jpg
high-logic2.jpg (56.72 KiB) Viewed 11704 times

Re: High-Logic Font Management Service revs too much

Posted: Fri Jan 10, 2020 8:55 am
by Erwin Denissen
Please download and install this version and let us know your results:
MainType 9.0.0.1176

Re: High-Logic Font Management Service revs too much

Posted: Fri Jan 10, 2020 9:39 am
by hlff
Thanks, Erwin.

With MainType 9.0.0.1176, CPU spikes occur every 2-3 minutes, even when the MainType application window is closed. This version seems to be spiking less dramatically (in terms of % CPU) but still hovers in the 15% - 20% range on average.

Re: High-Logic Font Management Service revs too much

Posted: Fri Jan 10, 2020 11:08 am
by Erwin Denissen
I'm glad to know this update works way better for you.

The font service checks if fonts have been installed or uninstalled. It does this every couple of minutes in the background, so this is most likely expected behavior.

Alternatively you have synced font folders with a short synchronization interval.

How many fonts do you have installed?

Re: High-Logic Font Management Service revs too much

Posted: Fri Jan 10, 2020 3:51 pm
by hlff
Thanks, Erwin.

I have 2,485 fonts installed.

The CPU spikes are still significant on a system that is also used for realtime production tasks. I don't like having ≈20%+ CPU being used so often to check for font changes when I very rarely change my font installation. I'm not installing fonts every few minutes, thus there is no need for MainType to check over and over again. I realize that some users may do this (particularly graphic designers with varying font packages used multiple times a day), but it's not my use case. I'm using MainType to organize a stable, consistent group of installed fonts. To arbitrarily grind the system often for no reason is an onerous load that makes me inclined to uninstall MainType, since my top priority is a stable, low-background-load system. I want a font tool to use resources when it's running, and to use little to no resources when it's not running. For this tool to be using anywhere from 20% to 50% of resources in the background every few minutes isn't the situation I seek.

A few suggestions:
- Could MainType perhaps use a watch-folder type algorithm, so that instead of scanning through files for changes per se, it simply waits to detect any changes in specified font install locations? I have other apps that operate in this manner which use almost no resources unless/until something in a watch folder actually changes; then they spring into action.
- If not, could you provide an option where the user might reduce the intervals, especially when MainType itself is not in use? You could make this an option the user could set. I wouldn't mind if MainType ran checks for changed fonts once per day or so, for example.
- And even if the interval is reduced, could the checks to be even more efficient on CPU usage?

Again, I am highly appreciative of your excellent software. Thanks for your consideration.

Re: High-Logic Font Management Service revs too much

Posted: Fri Jan 10, 2020 4:28 pm
by Erwin Denissen
That is a fair amount of fonts, and shouldn't be an issue.

I have 800 fonts installed, and with MainType closed, the font service "spikes" to 1% once every couple of minutes or so.

So I don't understand why it takes so much CPU cycles on your computer. How long does one such spike take on your system?

Re: High-Logic Font Management Service revs too much

Posted: Fri Jan 10, 2020 5:10 pm
by hlff
The spikes usually last anywhere from 5 to 20 seconds, every 2-3 minutes.

I note that CraftedDesigns reported seeing this issue as well (see previous post).

Re: High-Logic Font Management Service revs too much

Posted: Fri Jan 10, 2020 5:20 pm
by Erwin Denissen
To further look into this, I ask you to force a crash within the font service, which will generate a stack trace of the current state of the software. That might reveal what takes so much cpu usage.

To let the font service crash, do add a new group with this specific name:

****** [we will provide this secret group name on request only]

It is your challenge to submit the group at the right time ;-)

After you've done it, the group won't be added, and the font service needs to be restarted (through FmsConfig).

You will find the error report in this folder:
C:\ProgramData\High-Logic\Errors

Looking forward to the results.

Re: High-Logic Font Management Service revs too much

Posted: Fri Jan 10, 2020 5:31 pm
by hlff
Erwin, thanks for providing this method of generating error reports.

I sent you the .dat file via PM.

I note that, while adding the ********* group did successfully generate the Error .dat file, the High-Logic Font Management Service is still running after doing so.

Re: High-Logic Font Management Service revs too much

Posted: Fri Jan 10, 2020 6:23 pm
by Erwin Denissen
hlff wrote: Fri Jan 10, 2020 5:31 pm Erwin, thanks for providing this method of generating error reports.

I sent you the .dat file via PM.
Thank you for providing the report.

I can see it is indeed busy with "ResolveLoadedFonts".

I don't know why it takes that much resources on your side.

hlff wrote: Fri Jan 10, 2020 5:31 pm I note that, while adding the Crash2019 group did successfully generate the Error .dat file, the High-Logic Font Management Service is still running after doing so.
You won't be able to perform group related tasks right. A restart of the font service is recommended :wink:

P.s. I will now removed the special "Group Name" above, as it is only meant for debugging purposes.

Re: High-Logic Font Management Service revs too much

Posted: Fri Jan 10, 2020 6:30 pm
by hlff
Thanks for looking at the report.

I just wanted to clarify: At this time, are you looking into this further, or was there something I should be looking into as well?

Re: High-Logic Font Management Service revs too much

Posted: Fri Jan 10, 2020 6:47 pm
by Erwin Denissen
We could further look into this, but then we should consider a remote desktop session. For example with Chrome Remote Desktop if you don't mind me taking a look at your computer.