this.grid.BeginUpdate(); this.gridPanel.Controls.Add(this.grid); this.grid.ResetVolatileData(); this.grid.Update();the code should have been:
this.grid.BeginUpdate(); this.gridPanel.Controls.Add(this.grid); this.grid.ResetVolatileData(); this.grid.EndUpdate(); //changed....As far as the memory usage goes, for the GriddataBoundGrid, right-click the textbox that is logging the and do a SelectAll and Delete to clear this between Load clicks. I think doing this will stabalize that memory number after teh 3rd click. It will fluctuate up and down, but should not grow without decreaing as garbage collection is done. In the GridGroupingGrid, there was a leak in the 188.8.131.52. Some improvements to this problem were made in 184.108.40.206 public patch, and even more improvement in a 220.127.116.11 private patch. What version are you using? If you want to try the private patch, submit a Direct Trac support incident requesting it. But you should also try clicking the load button 5 or 6 times to make sure the memory is still growing at the point.