Page 1 of 1
memory issue
Posted: Mon Dec 08, 2008 3:39 pm
by 10050941
In delphi, I have a loop that repeated refreshes and reloads a chart.
The chart was created at design time.
I am getting an out of memory error after running approximately 250 instances.
Should something be freed or refreshed relating to the chart?
Posted: Tue Dec 09, 2008 12:14 pm
by narcis
Hi kualoa1,
Could you please send us a simple example project we can run "as-is" to reproduce the problem here and let us know the characteristics of the environment where the problem occurs?
You can either post your files at news://
www.steema.net/steema.public.attachments newsgroup or at our
upload page.
Thanks in advance.
Posted: Wed Dec 10, 2008 5:41 pm
by 10050941
I cannot provide this code at the moment.
Can you please tell me in general -- I create a chart at design time. at runtime, that chart is repeated created with different values in a loop. how can I be sure that there is no cumulative incaresing memory use due to the chart creation; can it be freed and if so please show me suggested instruction.
Thank you.
Posted: Mon Dec 15, 2008 10:17 am
by narcis
Hi kualoa1,
You could try doing this: