Click here to Skip to main content
15,900,511 members
Home / Discussions / C#
   

C#

 
AnswerRe: Rank my article please Pin
dan!sh 20-Jan-10 22:33
professional dan!sh 20-Jan-10 22:33 
AnswerRe: Rank my article please Pin
Keith Barrow20-Jan-10 23:36
professionalKeith Barrow20-Jan-10 23:36 
AnswerRe: Rank my article please Pin
Luc Pattyn21-Jan-10 1:25
sitebuilderLuc Pattyn21-Jan-10 1:25 
GeneralRe: Rank my article please Pin
Pete O'Hanlon21-Jan-10 3:01
mvePete O'Hanlon21-Jan-10 3:01 
AnswerRe: Rank my article please Pin
Pete O'Hanlon21-Jan-10 3:23
mvePete O'Hanlon21-Jan-10 3:23 
QuestionMemory consumption problem Pin
Eduard Keilholz20-Jan-10 22:20
Eduard Keilholz20-Jan-10 22:20 
AnswerRe: Memory consumption problem Pin
dan!sh 20-Jan-10 22:30
professional dan!sh 20-Jan-10 22:30 
GeneralRe: Memory consumption problem Pin
Calla20-Jan-10 22:33
Calla20-Jan-10 22:33 
GeneralRe: Memory consumption problem Pin
Eduard Keilholz20-Jan-10 22:44
Eduard Keilholz20-Jan-10 22:44 
GeneralRe: Memory consumption problem Pin
dan!sh 20-Jan-10 22:58
professional dan!sh 20-Jan-10 22:58 
GeneralRe: Memory consumption problem Pin
Eduard Keilholz20-Jan-10 23:17
Eduard Keilholz20-Jan-10 23:17 
GeneralRe: Memory consumption problem Pin
Martin#20-Jan-10 23:31
Martin#20-Jan-10 23:31 
GeneralRe: Memory consumption problem Pin
Eduard Keilholz21-Jan-10 0:44
Eduard Keilholz21-Jan-10 0:44 
GeneralRe: Memory consumption problem Pin
Martin#21-Jan-10 1:31
Martin#21-Jan-10 1:31 
Hello,

If you really unregister all the events (and I'm sure you do) I think you do not have a memory leak at all.
It's just, like you found out, that you hold a lot of your chunk objects because of the recurse calls.
This forces the GC to move the objects in a next generation.
If your action is done, and no more new objects have to be created, the GC will not see the need of cleaning up the generations.
I would assume, that if you start that action again (in the first implementated version), the 500Mb will not be topped, unless you haven't forgot to unregister the events or holding the objects in an collection for example!

Here[^] is an article, which explains how the GC passes the objects threw the generation levels!

All the best,

Martin

GeneralRe: Memory consumption problem Pin
Eduard Keilholz21-Jan-10 7:40
Eduard Keilholz21-Jan-10 7:40 
GeneralRe: Memory consumption problem Pin
Dave Kreskowiak21-Jan-10 4:30
mveDave Kreskowiak21-Jan-10 4:30 
GeneralRe: Memory consumption problem Pin
Eduard Keilholz21-Jan-10 7:41
Eduard Keilholz21-Jan-10 7:41 
GeneralRe: Memory consumption problem [modified] Pin
Matt444620-Jan-10 23:32
Matt444620-Jan-10 23:32 
GeneralRe: Memory consumption problem Pin
Covean20-Jan-10 23:13
Covean20-Jan-10 23:13 
AnswerRe: Memory consumption problem Pin
Luc Pattyn21-Jan-10 1:30
sitebuilderLuc Pattyn21-Jan-10 1:30 
GeneralRe: Memory consumption problem Pin
dan!sh 21-Jan-10 3:32
professional dan!sh 21-Jan-10 3:32 
GeneralRe: Memory consumption problem Pin
Luc Pattyn21-Jan-10 7:27
sitebuilderLuc Pattyn21-Jan-10 7:27 
GeneralRe: Memory consumption problem Pin
Eduard Keilholz21-Jan-10 7:36
Eduard Keilholz21-Jan-10 7:36 
GeneralRe: Memory consumption problem Pin
Luc Pattyn21-Jan-10 7:39
sitebuilderLuc Pattyn21-Jan-10 7:39 
QuestionInteresting crystal roport problem!? Pin
miss YY20-Jan-10 22:05
miss YY20-Jan-10 22:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.