631 views
in Platform Packages by
I'm looking for some details concerning the resource management of Embedded Wizard: When are resources (e.g. bitmaps) loaded into memory and when will they be removed?

1 Answer

0 votes
by
In order to limit the binary size and the memory footprint, all resources are compressed automatically by the Resource Converter of a Platform Package. The resources are loaded into the memory only when they are needed.

All loaded resources remain in memory as long as they are needed. If they are not used anymore from the UI application and if there is enough space available the resources remain within an internal cache of the Graphics Engine. If there is not enough space, unused resources are disposed from the cache automatically.

The Graphics Engine provides bitmap and font caches which can store once decompressed bitmaps and font glyphs for later, so the CPU load is limited. The size of the cache can be limited, so that the memory footprint is reduced. In any case this can be a balancing act when the target system is very limited regarding its resources.

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...