i have a memory allocation problem
when the form.dipose method is called, components.dispose get called but memory allocated remains
after this call, myGrid.IsDisposed is set to false
but when i call myGrid.Dipose(), it clears memory
we are working on version 7.3.20073.38
i have an example application with one mdi form with a ultratabmdimanager and on form with a ultradatasource bound to to a ultragrid, thanks to the designer. this datasource is filled with 10 thousands dummy rows
when i open the mdi form, the memory is about 32 Mo
when i click on a toolbar button, it opens a Form2
when i open 1 child form it's up to 71 Mo, the second : 92 Mo
when i close both of them, it's still 71 Mo and not 32
when i open 4 to 5 child forms and close them, the memory is up to 82 Mo
i'm checking memory overheads in my application and can't explain this behaviour
Hi,
The grid is not (and cannot) dispose itself. It is up to the application to do it. So if it's not getting disposed, it's because your application is not disposing it.
The default implementation of a Form loops through all of it's child controls and disposes of them, so usually you don't have to do anything. My guess is that the grid you are referring to has not been added to the Controls collection of the form.