"Not enough memory" with buffereddisplay

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Charles
Newbie
Newbie
Posts: 5
Joined: Tue Dec 21, 2010 12:00 am

"Not enough memory" with buffereddisplay

Post by Charles » Fri Jun 10, 2011 8:17 am

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 !

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: "Not enough memory" with buffereddisplay

Post by Yeray » Wed Jun 15, 2011 8:22 am

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply