Click here to Skip to main content
15,911,531 members
Home / Discussions / C#
   

C#

 
GeneralRe: Parallel lines & rounded line Pin
Martin#21-Jan-10 1:38
Martin#21-Jan-10 1:38 
GeneralRe: Parallel lines & rounded line Pin
AlexB4721-Jan-10 3:17
AlexB4721-Jan-10 3:17 
GeneralRe: Parallel lines & rounded line Pin
AlexB4731-Jan-10 20:28
AlexB4731-Jan-10 20:28 
QuestionRank my article please Pin
ADNANE-Dev20-Jan-10 22:23
ADNANE-Dev20-Jan-10 22:23 
AnswerRe: Rank my article please Pin
Calla20-Jan-10 22:27
Calla20-Jan-10 22:27 
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 
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 

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.