Page 1 of 1

Memory Management

Posted: Tue May 15, 2007 12:50 am
by 9241637
I have added a few TeeChart objects to my application and populate them from ClientDataSets. They seem to work as expected, but when I close my app, either as the compiled program, or while running in Delphi 7, I get a lot of memory errors that pop up. They don't seem to be the same error, and I haven't been able to track down a specific action that causes them.

Do you have any suggestions on how to manage my use of ClientDataSets so that I can avoid such problems?

Thanks in advance for your help and patience. :oops:

Posted: Tue May 15, 2007 9:33 am
by narcis
Hi CAC,

Could you please post the exact error messages you get?

Thanks in advance.

Posted: Tue May 15, 2007 1:06 pm
by 9241637
Here is a typical error message.
Exception EAccessViolation in module DataInspector.exe at 0035330A. Access violation at address 0075330A in module 'DataInspector.exe'. Read of address 0269D950.
This is then followed by another message that looks like this:
Runtime error 216 at 7C901010.

Posted: Tue May 15, 2007 1:21 pm
by narcis
Hi CAC,

Thanks for the information.

I'm afraid this error message doesn't give us much information :cry:. Is there any way we can reproduce the problem here? It would be great if you could arrange a simple example project we can run "as-is" to reproduce the problem here.

You can either post your files at news://www.steema.net/steema.public.attahcments newsgroup or at our upload page.

Thanks in advance.