Click here to Skip to main content
15,895,746 members
Home / Discussions / C#
   

C#

 
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 
Hello,

I followed the discussion and have a wild guess now!
Eduard Keilholz wrote:
The code does something with each chunk and then fires an event which tells the chunk is complete. The event handler then calls a method to start processing the next chunk.

If you are referencing this chunk, from an object which also holds the event ...
And if you now register (subscribe) this event for every chunk from your "managing" class and not unregister (unsubscribe) after complete ...
Your "managing" class would hold all the references to the objects which hold the references to the chunks and therefor the GC would not be able to free your objects.

Just a wild guess!
Hope you find it.

P.S.: I'm sure with this[^] memory profiler you will find it quickly!

All the best,

Martin

modified on Thursday, January 21, 2010 5:46 AM

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 
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 
QuestionHow to check value in IF statement.. Pin
<<Tash18>>20-Jan-10 22:04
<<Tash18>>20-Jan-10 22:04 
AnswerRe: How to check value in IF statement.. Pin
Calla20-Jan-10 22:09
Calla20-Jan-10 22:09 
GeneralRe: How to check value in IF statement.. Pin
<<Tash18>>20-Jan-10 22:17
<<Tash18>>20-Jan-10 22:17 
GeneralRe: How to check value in IF statement.. Pin
Som Shekhar20-Jan-10 22:20
Som Shekhar20-Jan-10 22:20 

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.