Any suggestions would be much appreciated.
The log message is:
*** MEMCHK: Blocks STILL allocated ***
Leak #0 Instance of EOutOfResources
Size: 16
1 Occurence
call stack - 0 : Module Graphics.pas Routine @Graphics@OutOfResources Line
2605 Find error: 00436AB3
call stack - 1 : Module Graphics.pas Routine @Graphics@GDIError Line 2618
Find error: 00436B60
call stack - 2 : Module Graphics.pas Routine @Graphics@GDICheck Line 2623
Find error: 00436B98
call stack - 3 : Module Graphics.pas Routine @Graphics@CopyBitmap Line 5151
Find error: 0043B880
call stack - 4 : Module Graphics.pas Routine @Graphics@TBitmap@CopyImage
Line 5332 Find error: 0043BEEC
call stack - 5 : Module Graphics.pas Routine @Graphics@TBitmap@FreeImage
Line 5456 Find error: 0043C328
call stack - 6 : Module Graphics.pas Routine @Graphics@TBitmap@Changing
Line 5347 Find error: 0043BF5C
call stack - 7 : Module Graphics.pas Routine @Graphics@TBitmap@GetHandle
Line 5495 Find error: 0043C448
call stack - 8 : Module Graphics.pas Routine
@Graphics@TBitmap@SetPixelFormat Line 6211 Find error: 0043D94B
call stack - 9 : Routine @Jpeg@TJPEGImage@Compress Find error: 004C3C2B
call stack - 10 : Routine @Jpeg@TJPEGImage@JPEGNeeded Find error: 004C44C2
call stack - 11 : Routine @Iwextctrls@TIWDynamicImage@RenderHTML Find
error: 005D8BCA
call stack - 12 : Module IWCompTeeChart.pas Routine
@Iwcompteechart@TIWChart@RenderHTML Line 84 Find error: 00630F75
call stack - 13 : Routine
@Iwbasehtmlcontrol@TIWBaseHTMLControl@RenderMarkupLanguageTag Find error:
005112F4
call stack - 14 : Routine @Iwcontainer@TIWContainer@RenderComponents Find
error: 0050E3BF
call stack - 15 : Routine @Iwform@TIWForm@RenderComponents Find error:
0050B4F7
call stack - 16 : Routine @Iwappform@TIWAppForm@GenerateForm Find error:
0050F367
call stack - 17 : Routine @Iwserver@TIWServer@Exec Find error: 005132B3
call stack - 18 : (no debug info) Find error: 0051853E
call stack - 19 : Module HTTPApp.pas Routine
@Httpapp@TWebActionItem@DispatchAction Line 1093 Find error: 004BD386
call stack - 20 : Module HTTPApp.pas Routine
@Httpapp@TCustomWebDispatcher@DispatchAction Line 1490 Find error: 004BE2ED
call stack - 21 : Routine
@Inhttpwebbrokerbridge@TInHTTPWebBrokerBridge@DoCommandGet Find error:
0053DD77
call stack - 22 : (no debug info) Find error: 0053AB2D
call stack - 23 : Routine @Incontext@TInContext@Run Find error: 00532C0E
call stack - 24 : Module classes.pas Routine @Classes@ThreadProc Line 9010
Find error: 00430335
call stack - 25 : Routine @System@ThreadWrapper Find error: 00404F56
call stack - 26 : (no debug info) Find error: 77E7D337
Thanks
Bruce
"Bruce Eglington" <bruce.e...@usask.ca> wrote in message news:4134...@newsgroups.borland.com...
I would not have described the charts as very large. The worst case
(largest) has five line series, each with 4600 points whereas most have only
a few hundred points total, distributed across five series, all with error
bars. I have even had the OutOfresources error on graphs with as few as 50
points total.
I have been using 24 bit per pixel resolution and will now try at 16. I have
had similar problems in the past (TChart version 7, I now use 7.01) with
another computer which was running at 16 bits per pixel but i thought that
the problem on that computer was related to Kerio Firewall as, when I
switched it off I did not have errors. I substituted Zone Alarm as a
firewall and have did not have any problems either although all the graphs
on that machine are smaller.
I have your latest IWTChart download (as of a few weeks ago) in file
TeeChartPro7_Intraweb7_Delphi.zip and installed this as recommended with the
necessary changes and recompilations to get it to work with IW 7.2.12
(previously 7.2.11 and 7.0.20). for the rest, I use Delphi 6 with all
released upgrades. Hopefully this answers your query about IWChart source
code.
Can you explain how you know the error is with SetPixelFormat? I would like
to get a better understanding of the log output from MemCheck.
Regards
Bruce
"David Berneda" <dav...@steema.com> wrote in message
news:4137...@newsgroups.borland.com...
> Can you explain how you know the error is with SetPixelFormat? I would like
> to get a better understanding of the log output from MemCheck.
I'm only guessing.
I guess the rest of stack lines are a derived cause of a problem at SetPixelFormat, but it's just a guess.
regards
david
"Bruce Eglington" <bruce.e...@usask.ca> wrote in message news:4138...@newsgroups.borland.com...
Bruce
"David Berneda" <da...@steema.com> wrote in message
news:413c...@newsgroups.borland.com...