Hi Jacob,
unfortunately this is part of a larger application so do not have a smaller program. The issue is experienced when placing a large amount of text into the control, then attempting to place the next chunk of text to be displayed, after clearing the previous text (from all buffers as it is not needed). However all attempts to do this appeared not to release the memory allocated when placing in the text, therefore the program grew till it crashed.
I ended up getting around this by releasing and re-instantiating the control - which allowed the memory to be released and memory map to not grow.
As mentioned, I was after the correct way/call to remove all the previous text and memory allocated when this text is displayed - maybe this is my misunderstanding of the control and I was after clarification on how to do this correctly.
Cheers
unfortunately this is part of a larger application so do not have a smaller program. The issue is experienced when placing a large amount of text into the control, then attempting to place the next chunk of text to be displayed, after clearing the previous text (from all buffers as it is not needed). However all attempts to do this appeared not to release the memory allocated when placing in the text, therefore the program grew till it crashed.
I ended up getting around this by releasing and re-instantiating the control - which allowed the memory to be released and memory map to not grow.
As mentioned, I was after the correct way/call to remove all the previous text and memory allocated when this text is displayed - maybe this is my misunderstanding of the control and I was after clarification on how to do this correctly.
Cheers