Peter Feldbaumer
2008-05-07 13:39:20 UTC
Hello,
I'm using IW 9.0.32 in D2007, and have enabled Memory-Leak reporting in
FastMM4.
Even with very simple pages FastMM4 reports leaks in
[IWForm.TIWForm.ExecuteForm]
[IWForm][IWForm.TIWForm.InitControl]
[IWForm][IWForm.TIWForm.GenerateForm]
all for TStringLists.
With tracing through the compiled IW-dcus I couldn't find any hints -
however I'm sure that it's not my code (no code of mine on the page, just 2
stock-IW-controls) - unfortunately the number of leaked objects increases
with the number of page reloads - so it seems to be serious for a 24/7
application...
Please see below for the stack-traces (from FastMM4)
I'd be very thankful for any hints?!
Nr. 1 -----------------------------------------------
A memory block has been leaked. The size is: 68
Stack trace of when this block was allocated (return addresses):
40340A [sys\system.pas][System][***@GetMem][2654]
4C981A [IWForm][IWForm.TIWForm.InitControl]
4E733E [IWBaseForm][IWBaseForm.TIWBaseForm.Create]
4DEE80 [IWServer][IWServer.TIWServer.Start]
4E1E07 [IWServer][IWServer.TIWServer.IWServerDefaultAction]
47C232 [HTTPApp.pas][HTTPApp][HTTPApp.TWebActionItem.DispatchAction][1107]
47CE98
[HTTPApp.pas][HTTPApp][HTTPApp.TCustomWebDispatcher.DispatchAction][1487]
57A25F
[InHTTPWebBrokerBridge][InHTTPWebBrokerBridge.TInHTTPWebBrokerBridge.DoCommandGet]
576F4F
[InCustomHTTPServer][InCustomHTTPServer.TInCustomHTTPServer.DoExecute]
56E21E [InContext][InContext.TInContext.Run]
The block is currently used for an object of class: TStringList
Nr. 2 -----------------------------------------------
A memory block has been leaked. The size is: 68
Stack trace of when this block was allocated (return addresses):
40340A [sys\system.pas][System][***@GetMem][2654]
4CD95D [IWForm][IWForm.TIWForm.ExecuteForm]
4F3D7A [IWApplication][IWApplication.TIWApplication.ExecuteActiveForm]
4DCE85 [IWServer][IWServer.TIWServer.ExecWhenTracIDIsInSync]
4DC4D1 [IWServer][IWServer.TIWServer.Exec]
4E28E5 [IWServer][IWServer.TIWServer.IWServerDefaultAction]
47C232 [HTTPApp.pas][HTTPApp][HTTPApp.TWebActionItem.DispatchAction][1107]
47CF25
[HTTPApp.pas][HTTPApp][HTTPApp.TCustomWebDispatcher.DispatchAction][1504]
57A25F
[InHTTPWebBrokerBridge][InHTTPWebBrokerBridge.TInHTTPWebBrokerBridge.DoCommandGet]
576F4F
[InCustomHTTPServer][InCustomHTTPServer.TInCustomHTTPServer.DoExecute]
The block is currently used for an object of class: TStringList
Nr. 3 -----------------------------------------------
A memory block has been leaked. The size is: 68
Stack trace of when this block was allocated (return addresses):
40340A [sys\system.pas][System][***@GetMem][2654]
4CA9A2 [IWForm][IWForm.TIWForm.GenerateForm]
4C0BA7 [IWAppForm][IWAppForm.TIWAppForm.GenerateForm]
4DC4EC [IWServer][IWServer.TIWServer.Exec]
4E1737 [IWServer][IWServer.TIWServer.IWServerDefaultAction]
47C232 [HTTPApp.pas][HTTPApp][HTTPApp.TWebActionItem.DispatchAction][1107]
47CF25
[HTTPApp.pas][HTTPApp][HTTPApp.TCustomWebDispatcher.DispatchAction][1504]
57A25F
[InHTTPWebBrokerBridge][InHTTPWebBrokerBridge.TInHTTPWebBrokerBridge.DoCommandGet]
576F4F
[InCustomHTTPServer][InCustomHTTPServer.TInCustomHTTPServer.DoExecute]
56E21E [InContext][InContext.TInContext.Run]
The block is currently used for an object of class: TStringList
I'm using IW 9.0.32 in D2007, and have enabled Memory-Leak reporting in
FastMM4.
Even with very simple pages FastMM4 reports leaks in
[IWForm.TIWForm.ExecuteForm]
[IWForm][IWForm.TIWForm.InitControl]
[IWForm][IWForm.TIWForm.GenerateForm]
all for TStringLists.
With tracing through the compiled IW-dcus I couldn't find any hints -
however I'm sure that it's not my code (no code of mine on the page, just 2
stock-IW-controls) - unfortunately the number of leaked objects increases
with the number of page reloads - so it seems to be serious for a 24/7
application...
Please see below for the stack-traces (from FastMM4)
I'd be very thankful for any hints?!
Nr. 1 -----------------------------------------------
A memory block has been leaked. The size is: 68
Stack trace of when this block was allocated (return addresses):
40340A [sys\system.pas][System][***@GetMem][2654]
4C981A [IWForm][IWForm.TIWForm.InitControl]
4E733E [IWBaseForm][IWBaseForm.TIWBaseForm.Create]
4DEE80 [IWServer][IWServer.TIWServer.Start]
4E1E07 [IWServer][IWServer.TIWServer.IWServerDefaultAction]
47C232 [HTTPApp.pas][HTTPApp][HTTPApp.TWebActionItem.DispatchAction][1107]
47CE98
[HTTPApp.pas][HTTPApp][HTTPApp.TCustomWebDispatcher.DispatchAction][1487]
57A25F
[InHTTPWebBrokerBridge][InHTTPWebBrokerBridge.TInHTTPWebBrokerBridge.DoCommandGet]
576F4F
[InCustomHTTPServer][InCustomHTTPServer.TInCustomHTTPServer.DoExecute]
56E21E [InContext][InContext.TInContext.Run]
The block is currently used for an object of class: TStringList
Nr. 2 -----------------------------------------------
A memory block has been leaked. The size is: 68
Stack trace of when this block was allocated (return addresses):
40340A [sys\system.pas][System][***@GetMem][2654]
4CD95D [IWForm][IWForm.TIWForm.ExecuteForm]
4F3D7A [IWApplication][IWApplication.TIWApplication.ExecuteActiveForm]
4DCE85 [IWServer][IWServer.TIWServer.ExecWhenTracIDIsInSync]
4DC4D1 [IWServer][IWServer.TIWServer.Exec]
4E28E5 [IWServer][IWServer.TIWServer.IWServerDefaultAction]
47C232 [HTTPApp.pas][HTTPApp][HTTPApp.TWebActionItem.DispatchAction][1107]
47CF25
[HTTPApp.pas][HTTPApp][HTTPApp.TCustomWebDispatcher.DispatchAction][1504]
57A25F
[InHTTPWebBrokerBridge][InHTTPWebBrokerBridge.TInHTTPWebBrokerBridge.DoCommandGet]
576F4F
[InCustomHTTPServer][InCustomHTTPServer.TInCustomHTTPServer.DoExecute]
The block is currently used for an object of class: TStringList
Nr. 3 -----------------------------------------------
A memory block has been leaked. The size is: 68
Stack trace of when this block was allocated (return addresses):
40340A [sys\system.pas][System][***@GetMem][2654]
4CA9A2 [IWForm][IWForm.TIWForm.GenerateForm]
4C0BA7 [IWAppForm][IWAppForm.TIWAppForm.GenerateForm]
4DC4EC [IWServer][IWServer.TIWServer.Exec]
4E1737 [IWServer][IWServer.TIWServer.IWServerDefaultAction]
47C232 [HTTPApp.pas][HTTPApp][HTTPApp.TWebActionItem.DispatchAction][1107]
47CF25
[HTTPApp.pas][HTTPApp][HTTPApp.TCustomWebDispatcher.DispatchAction][1504]
57A25F
[InHTTPWebBrokerBridge][InHTTPWebBrokerBridge.TInHTTPWebBrokerBridge.DoCommandGet]
576F4F
[InCustomHTTPServer][InCustomHTTPServer.TInCustomHTTPServer.DoExecute]
56E21E [InContext][InContext.TInContext.Run]
The block is currently used for an object of class: TStringList
--
Peter Feldbaumer
p dot feldbaumer at utanet dot at
Peter Feldbaumer
p dot feldbaumer at utanet dot at