Page 1 of 1

Memory not being released

Posted: Thu Aug 03, 2006 6:13 pm
by 9525545
Hello,

We are having a problem when our application that uses TeeChart 7.0.0.8 exits it generates a memory error. TeeChart 5.0 will exit without the memory error.

I have compiled a program that will show how the memory is not being released. Since I cannot post it here is the code to help demonstrate the memory problem. Here are some results:

No controls on the form: Memory holds stable
Only a single instance of the TeeChart 5.0 control: Memory holds stable
Only a single instance of the TeeChart 7.0.0.8 control: Memory jumps at a rate of 1MB / second.

Option Explicit

Sub main()

Dim lIndex As Long
For lIndex = 1 To 1000

Dim lFrm As Form1
Set lFrm = New Form1
Load lFrm
lFrm.Show
lFrm.Hide
Unload lFrm
Set lFrm = Nothing
Next

End Sub

Form1 contains only a single instance of the TeeChart 7.0.0.8 Control.

Thank your for your help and support,
David Oke

Posted: Thu Aug 03, 2006 9:12 pm
by Pep
Hi Dave,

would you be so kind to send me a simple sample (with sources) with which I can reproduce as is the problem here ?
You can send me it directly to pep@steema.com

Posted: Tue Aug 08, 2006 2:21 pm
by 9525545
Sent!

Thanks for your help,

Dave

Posted: Thu Oct 05, 2006 8:07 pm
by 9525545
Hello,

Has this issue been resolved?

Posted: Fri Oct 06, 2006 4:36 pm
by Pep
Hi Dave,

yes, it has been fixed. I think Marc sent directly to your mail a fixed ocx yesterday. If you've not received let me know and we'll send to you again to be able to test it.