Hi,
In our project Embedded Wizard Version 11 is used and Target Platform is IMXRT.
We have 13 images and One image at a time to be shown based on the current language selected.
The average size of each image is around 1 MB.
When language is continuously changed, the image keeps on flipping according to the language.
During continuous loading of the image, the Embedded wizard crashed.
When memory analysis is done, Heap memory is overflowed.
We want to make sure that the existing image is removed completely before the new image is loaded. Is there any solution to make sure of this point?
During the error scenario, when loading the image, the target is throwing memory overflow as below error codes:
- EMWI ERROR: code: 41, EMWI ERROR: code: 113, EMWI ERROR: code: 321.
Please suggest a solution for unloading the current displaying image completely from memory manually if needed before the new image gets loaded.
The memory log details during the error scenario:
GetHeapInfo - aNoOfMemoryPools: 1,
GetHeapInfo - aTotalSize: 4194248,
GetHeapInfo - aFreeSize: 2170660,
GetHeapInfo - aNoOfUsedBlocks: 640,
GetHeapInfo - aNoOfFreeBlocks: 22,
GetHeapInfo - aSmallestFreeBlock: 16,
GetHeapInfo - aLargestFreeBlock: 1093680,
GetHeapInfo - aSmallAllocCounter: 818,
GetHeapInfo - aLargeAllocCounter: 144,
GetHeapInfo - aFreeCounter: 322,
30632 bytes occupied by 104 Chora objects (peak 30812 bytes)
4824 bytes occupied by 127 strings (peak 4824 bytes)
711218 bytes occupied by Graphics Engine objects (without any framebuffers) (peak 3188812 bytes)
TOTAL : 746674 bytes, TOTAL PEAK : 3224436 bytes