Page 1 of 1

"Not enough memory" with buffereddisplay

Posted: Fri Jun 10, 2011 8:17 am
by 16558207
Hello,

Since using Delphi XE with TChart Pro 2011.03.30407, I have the following message which popups randomly : "Not enough memory to run command" with a chart which updates every second. The line of the error is always during a painting process in TChart (not always the same line though).

However, I found that if I set "TTeeCanvas3D.BufferedDisplay := false", I don't have this error anymore but the chart starts blinking a lot after a few hours of use when many points are visible.

Do you have any suggestion based on the above description to avoid this memory problem ?

Thanks !

Re: "Not enough memory" with buffereddisplay

Posted: Wed Jun 15, 2011 8:22 am
by yeray
Hello Charles,

The memory errors may depend on the computer specifications, the number of points in a chart, etc. However, I understand you suffer this error in the same machine where you didn't before, and with the same code, isn't it?
If that's the case, it would be helpful if we could have a simple application here where we could reproduce and debug the problem to try to find out what change in the sources has affected this. So could you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.