Support

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)

For general discussion related FlowStone

Re: Memory Usage

Postby trogluddite » Fri Sep 13, 2013 11:51 am

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!
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Memory Usage

Postby matti » Fri Sep 20, 2013 10:31 am

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)

Postby trogluddite » Fri Sep 20, 2013 1:12 pm

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!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Previous

Return to General

Who is online

Users browsing this forum: Google [Bot] and 82 guests