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

TeeChart for ActiveX, COM and ASP
Post Reply
Christophe
Newbie
Newbie
Posts: 3
Joined: Wed Apr 03, 2002 5:00 am
Location: France

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

Post by Christophe » Mon Sep 13, 2004 12:00 pm

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.

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

Post by Pep » Mon Sep 13, 2004 1:22 pm

Hi Christophe,

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

Christophe
Newbie
Newbie
Posts: 3
Joined: Wed Apr 03, 2002 5:00 am
Location: France

Post by Christophe » Tue Sep 14, 2004 8:52 am

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.

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

Post by Pep » Tue Sep 14, 2004 3:06 pm

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.

Christophe
Newbie
Newbie
Posts: 3
Joined: Wed Apr 03, 2002 5:00 am
Location: France

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

Post by Christophe » Wed Oct 06, 2004 11:12 am

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.

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Post by Christopher » Thu Oct 07, 2004 4:49 pm

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.
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

Arvid
Newbie
Newbie
Posts: 4
Joined: Thu Jan 13, 2005 5:00 am
Location: Norway
Contact:

"Not enough memory to process this command"

Post by Arvid » Wed Aug 09, 2006 9:14 am

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

Patrick
Newbie
Newbie
Posts: 4
Joined: Fri Jan 28, 2005 5:00 am

Post by Patrick » Thu Aug 17, 2006 9:48 pm

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.

Post Reply