If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Memory Usage (Font Rendering Engine)
13 posts
• Page 2 of 2 • 1, 2
Re: Memory Usage
Cheers Matti - that's good to know; I've often been tempted to use a custom font, especially for very small writing.
Seems odd that string -> ASCII should use so much memory!
Seems odd that string -> ASCII should use so much memory!
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: Memory Usage
trogluddite wrote:Cheers Matti - that's good to know; I've often been tempted to use a custom font, especially for very small writing.
Seems odd that string -> ASCII should use so much memory!
Yeah, well it's not the conversion itself, as i still do it but with a different primitive. More of a "bug" on the parser. Or maybe It's just not ment for being used like that. In my schematic there's way over 2000 parsers. It all adds up and devs prob thought it would be used once or twice per schematic.
Anyhow it's not really needed in the custom font rendering thing. I uploaded the fixed rendering engine that uses way less resources for all FS users to enjoy:
https://app.box.com/s/vn8avfzav4yk738holyi
edit: Changed the original topic to reflect the findings..
- matti
- Posts: 55
- Joined: Fri Sep 24, 2010 12:06 pm
Re: Memory Usage (Font Rendering Engine)
matti wrote:2000 parsers
Makes sense, the parser is probably storing partial matches, and maybe regular expression strings, inside the components. I just took a look one of my old SM projects that had a lot of parsers in it, and that's pretty greedy for memory too.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
13 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 59 guests