Senior Member
Join Date: Jan 2013
Location: Rochester, MN
Posts: 1,516
|
So a question: is the memory usage dependent on the number of fonts installed or the number Realm Works can use?
I ask because I got the warning, but the majority of my fonts are Type 1 or OTF with Type 1 outlines, which Realm Works can't use anyway. (Yes, I already checked "Don't show this again". :) Last edited by Parody; November 15th, 2016 at 11:05 PM. |
#1 |
Senior Member
Join Date: Apr 2014
Location: California
Posts: 295
|
What about those of us that do some desktop publishing and sometimes use a lot of fonts?
Any chance we can get Realm Works to limit the number of fonts it loads? A handful each of serif and san serif fonts should be more then enough. Just allow the user to select the ones they want Realm Works to load... |
#2 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
|
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
Quote:
If you use lots of fonts for other purposes, then you'll absolutely want to keep them all. Some users will find that there are numerous fonts they never intentionally installed and have no use for, in which case they can be readily removed. Every user's situation will be different, and it's simply a trade-off between having the fonts versus having more/larger smart images actively loaded concurrently. Each user must make their own assessment, and it's important that users are made aware of this trade-off. That's why we present the warning, if necessary, and leave it to the user to determine how best to proceed. |
|
#4 |
Senior Member
Join Date: Jan 2013
Location: Rochester, MN
Posts: 1,516
|
I don't know DevExpress, but one thing you could try (if it lets you) is disabling font previews in the font selection combo boxes. The hope is that they then delay loading each font until it's actually used and just rely on the list of names provided by the system for selecting fonts. If most of us are using the defaults then Realm Works would only need the Tahoma variants, cutting potentially hundreds of loaded fonts down to four.
Edit: Actually two; Tahoma doesn't come with italics. Last edited by Parody; November 19th, 2016 at 03:54 AM. Reason: Italics... |
#5 |
Senior Member
|
There are tools you can use that might help.
http://www.trishtech.com/font-loader/ This will take some work on the users part to work effectively. (ie, uninstalling current fonts, saving them in a folder someplace, run the program when creating documents/DTP/etc) Boomer Castles & Crusades Ruleset for Hero Lab Hero Lab (5E D&D) -> Fantasy Grounds Character Converter |
#6 |
Member
Join Date: May 2013
Location: Haifa, Israel
Posts: 54
|
How many Fonts is "too much" or is it by "volume"?
|
#7 |
Member
Join Date: Nov 2016
Posts: 53
|
Maybe a better approach would be to check in task manager and see how much memory is being used by Realm Works. I got the warning, but the actual consumed memory was 131mb or so, which did not seem especially large. I suspect that the message is generated by count of fonts, not by use of resources.
Top |
#8 |
Senior Member
Lone Wolf Staff
Join Date: Apr 2013
Posts: 691
|
Quote:
Realm Works is a 32 bit application, so it cannot go above 2 GB of virtual memory. That is the ceiling being hit when the out of memory errors occur. We trigger the warning based on the virtual memory size, which is more directly related to the error occurring. It is not based on a simple count of the number of fonts. I think we trigger it above 1.2 GB, but I could be wrong on the exact number. Hopefully I have not totally misled on any of the technical details. If so, Rob or David will need to correct me. |
|
#9 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
Joe summed things up nicely.
To specifically answer the question from @Avi, Realm Works looks at the total memory utilization, wherein all the fonts can make a huge difference from one user to the next. Some fonts are much larger than others, so that's also a point of consideration. And the actual memory used by a particular font once loaded for use is typically larger than the size of that font on disk. However, the relative sizes of the fonts on disk seem to generally map to their memory footprint (i.e. larger fonts on disk use more memory once loaded). Hope this helps! |
#10 |
|
|