Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
947
Memory Leak issue in group by row
posted

when I use group-by-column feature on a column that had many different values (which will create many sub-rows), the application simply hung, and when I stopped, I got the following on the call stack.

And, another question is that even I did "SuspendSummaryUpdate()" on grid, does this get resume by default, or once I suspended, does it remain suspended?

(Top is the when I broke)
 
mscorlib.dll!System.Collections.ArrayList.Capacity.set(int value) + 0x3e bytes 
mscorlib.dll!System.Collections.ArrayList.EnsureCapacity(int min) + 0x26 bytes 
mscorlib.dll!System.Collections.ArrayList.Add(object value = "Subproduction9") + 0x1e bytes 
Infragistics2.Win.UltraWinCalcManager.v8.2.dll!PerCederberg.Grammatica.Parser.RecursiveDescentParser.CallStack.Push(string name = "Subproduction9", int value = 1) + 0x20 bytes 
  Infragistics2.Win.UltraWinCalcManager.v8.2.dll!PerCederberg.Grammatica.Parser.RecursiveDescentParser.FindLookAhead(PerCederberg.Grammatica.Parser.ProductionPattern pattern = {PerCederberg.Grammatica.Parser.ProductionPattern}, int length = 1, PerCederberg.Grammatica.Parser.RecursiveDescentParser.CallStack stack = {PerCederberg.Grammatica.Parser.RecursiveDescentParser.CallStack}, PerCederberg.Grammatica.Parser.LookAheadSet filter = null) + 0xa1 bytes 
  Infragistics2.Win.UltraWinCalcManager.v8.2.dll!PerCederberg.Grammatica.Parser.RecursiveDescentParser.FindLookAhead(PerCederberg.Grammatica.Parser.ProductionPatternElement elem = {PerCederberg.Grammatica.Parser.ProductionPatternElement}, int length = 1, int dummy = 0, PerCederberg.Grammatica.Parser.RecursiveDescentParser.CallStack stack = {PerCederberg.Grammatica.Parser.RecursiveDescentParser.CallStack}, PerCederberg.Grammatica.Parser.LookAheadSet filter = null) + 0xa0 bytes 
 
...(Many of the above)...
 
Infragistics2.Win.UltraWinCalcManager.v8.2.dll!Infragistics.Win.CalcEngine.UCCompilation.Parse(Infragistics.Win.CalcEngine.IUltraCalcReference baseReference = {Infragistics.Win.UltraWinGrid.GroupLevelSummarySettingsReference}, string formula = "SUM( [StartExpN] )") + 0xad bytes 
  Infragistics2.Win.UltraWinCalcManager.v8.2.dll!Infragistics.Win.CalcEngine.UltraCalcFormula.Compile(Infragistics.Win.CalcEngine.IUltraCalcReference formulaReference = {Infragistics.Win.UltraWinGrid.GroupLevelSummarySettingsReference}, string formula = "SUM( [StartExpN] )") + 0x63 bytes 
  Infragistics2.Win.UltraWinCalcManager.v8.2.dll!Infragistics.Win.CalcEngine.UltraCalcFormula.UltraCalcFormula(Infragistics.Win.CalcEngine.IUltraCalcReference formulaReference = {Infragistics.Win.UltraWinGrid.GroupLevelSummarySettingsReference}, string formula = "SUM( [StartExpN] )", Infragistics.Win.CalcEngine.UltraCalcFunctionFactory functionFactory = {Infragistics.Win.CalcEngine.UltraCalcFunctionFactory}) + 0x5f bytes 
  Infragistics2.Win.UltraWinCalcManager.v8.2.dll!Infragistics.Win.UltraWinCalcManager.UltraCalcManager.Infragistics.Win.CalcEngine.IUltraCalcManager.CompileFormula(Infragistics.Win.CalcEngine.IUltraCalcReference baseReference = {Infragistics.Win.UltraWinGrid.GroupLevelSummarySettingsReference}, string formula = "SUM( [StartExpN] )", bool suppressSyntaxErrorEvent = false) + 0xbe bytes 
  Infragistics2.Win.UltraWinCalcManager.v8.2.dll!
 
....
 
Infragistics2.Win.UltraWinGrid.v8.2.dll!Infragistics.Win.UltraWinGrid.RowsCollection.GetRowWithListIndex(int listIndex = 48) + 0x20 bytes 
  Infragistics2.Win.UltraWinGrid.v8.2.dll!Infragistics.Win.UltraWinGrid.UltraGridBand.DataSource_ItemChanged(object sender = {System.Windows.Forms.CurrencyManager}, System.Windows.Forms.ItemChangedEventArgs ea = {Index = 48}) + 0x38a bytes 
  System.Windows.Forms.dll!System.Windows.Forms.CurrencyManager.OnItemChanged(System.Windows.Forms.ItemChangedEventArgs e) + 0x67 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.CurrencyManager.List_ListChanged(object sender, System.ComponentModel.ListChangedEventArgs e) + 0x3cf bytes 
  [Native to Managed Transition] 
  [Managed to Native Transition] 
  System.Windows.Forms.dll!System.Windows.Forms.BindingSource.OnListChanged(System.ComponentModel.ListChangedEventArgs e) + 0x7b bytes 
  System.Windows.Forms.dll!System.Windows.Forms.BindingSource.InnerList_ListChanged(object sender, System.ComponentModel.ListChangedEventArgs e) + 0x2e bytes 

 

 

 

Parents
No Data
Reply
  • 469
    posted

    Hi tboy79,

    I am seeing what looks like memory leaks from Infragistics Grid and the PerCederberg components are listed too so think it might be related to your post. Did you manage to get this logged as as an issue and fixed? If so, can you remember what the fixed version was? I am using winforms 9.2

    Thanks

    Javier

Children
No Data