Memory not being released

TeeChart for ActiveX, COM and ASP
Post Reply
DaveOke
Newbie
Newbie
Posts: 5
Joined: Tue Jan 11, 2005 5:00 am

Memory not being released

Post by DaveOke » Thu Aug 03, 2006 6:13 pm

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

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Aug 03, 2006 9:12 pm

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

DaveOke
Newbie
Newbie
Posts: 5
Joined: Tue Jan 11, 2005 5:00 am

Post by DaveOke » Tue Aug 08, 2006 2:21 pm

Sent!

Thanks for your help,

Dave

DaveOke
Newbie
Newbie
Posts: 5
Joined: Tue Jan 11, 2005 5:00 am

Post by DaveOke » Thu Oct 05, 2006 8:07 pm

Hello,

Has this issue been resolved?

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Fri Oct 06, 2006 4:36 pm

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.

Post Reply