![]() |
Leaks with Panes ??? |
Post Reply
|
| Author | |
assassin316
Newbie
Joined: 12 January 2005 Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Topic: Leaks with Panes ???Posted: 12 January 2005 at 8:28am |
|
I'm testing out the docking with the docking panes in VB.NET, and i'm doing very simple behavior. I simply create panes over and over (about 30), then I simply click on the 'X' of each pane to close all the panes. And of course I have the following code to destroy the pane: Private Sub DockManager_Action(ByVal sender As Object, ByVal e As AxXtremeDockingPane._DDockingPaneEvents_ActionEvent) Handles DockManager.Action If sActions(e.action) = "PaneActionClosed" Then
Before continuing, sActions in the above code is simple and array of strings in case anyone is wondering. Now here's the problem, the memory NEVER goes down, keeps on rising on this very simple test. Do these controls leak ??? Am i doing something wrong ??? Edited by assassin316 |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 January 2005 at 10:37am |
|
Your code is right. it is .NET. Nobody know when .NET core free memory. Don't worry about it. try to manually free garbage collection: GC.Collect() GC.WaitForPendingFinalizers()
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |