Page 1 of 1

error when displaying lot of graphs: "no enough memory.

Posted: Mon Sep 13, 2004 12:00 pm
by 6922675
Hi,

I have a MDI application and my documents contain TeeChart controls.
When I open a lot of documents I have a dialog box with the following message: "no enough memory to process this command".
When I decrease my PC color quality from 32 to 16 bits, I have to open more documents to make this dialog box appear.
Does someone have already encounter this issue ? What can I do to resolve it ?

Environment:
Visual Studio .NET 2003.
Windows 2000 Server SP4.
TeeChart ActiveX 5.0.6.

Regards,
Christophe.

Posted: Mon Sep 13, 2004 1:22 pm
by Pep
Hi Christophe,

difficult one.. Does this happens if you remove the Chart from the document ?

Posted: Tue Sep 14, 2004 8:52 am
by 6922675
It does NOT happen if I remove the WS_VISIBLE style at the chart creation.
I have also downloaded the TeeChart 7 evaluation and I have exactly the same problem.
I have two machine with Windows 2000 Server on which I have the problem, but I also have another one W2000 Server too) on which I don't have !!
I also noticed that if I reduce the size of my application window, I can open more documents before the message box appear.
Can it be related to the video card ?

Regards,
Christophe.

Posted: Tue Sep 14, 2004 3:06 pm
by Pep
Hi Christophe,
Can it be related to the video card ?
Yes, I think it could be related, because if it works in some machines and not in others with the same system.
If you want you can post an example (compiled also) into the steema.public.attachments newsgroup and I'll check if it happens here.

error when displaying lot of graphs: "no enough memory.

Posted: Wed Oct 06, 2004 11:12 am
by 6922675
Hi Pep,

did you receive the attachment I have sent to the steema.public.attachments newsgroup ? (on 22/09)

Have you the same problem ?

Thanks,
Christophe.

Posted: Thu Oct 07, 2004 4:49 pm
by Chris
Hi Christophe --
did you receive the attachment I have sent to the steema.public.attachments newsgroup ? (on 22/09)

Have you the same problem ?
I'm using:

Environment:
Visual Studio .NET 2003.
Windows 2003 Server.
TeeChart ActiveX 5.0.6.0

Hitting 'nouveau' causes charts 51-100 to be created without a problem.

"Not enough memory to process this command"

Posted: Wed Aug 09, 2006 9:14 am
by 9340600
We have the same problem in our MDI application using:

Windows XP SP2
Delphi 2006
TeeChart 7.07

The problem occure when several applications are opened, and graphs are displayed in all applications.

3 applications with 5-6 graphs are ok, but when the 4th is opened the problem occure on my PC with 2GB of memory. PC's with less memory seem to get the problem earlier.

When decreasing PC color quality more graphs can be opened.

The problem occure when many graphs are opened, and it happens on all machines. The number of graphs that can be opened seems to depend on the amount of RAM installed.

From Eurekalog I can see the following call stack befor the problem occures:

Unit; Class; Procedure/Method; Line; Related line
TeCanvas.pas; TTeeCanvas3D; InitWindow; 3952; 52
TeeProcs.pas; TCustomTeePanel; Draw; 1293; 6
TeeProcs.pas; TCustomTeePanel; Draw; 1249; 0
TeeProcs.pas; TCustomTeePanel; Paint; 1336; 9

Any idea what causes this?

Best regards,

Arvid Haugen

Posted: Thu Aug 17, 2006 9:48 pm
by 9525775
Unfortunately I reported this problem (or very similar) in July 2005 and it was added to the bug list:
http://www.teechart.net/support/viewtopic.php?t=2561
I was just logging in today to see if it had been fixed.
Guess not.

Edit: Since reporting the original problem we have discovered that the error happens any time a certain 'area' of tcharts are added. eg. 9 full page charts, 25 quarter page charts etc. As a result I have had to ensure that my mdi app shows lots of little charts that can be maximized only one at a time.