Click here to Skip to main content
15,911,531 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionLarge Heap Doesn't Compact? Pin
BarV21-Aug-06 8:28
BarV21-Aug-06 8:28 
AnswerRe: Large Heap Doesn't Compact? Pin
Dave Kreskowiak21-Aug-06 8:44
mveDave Kreskowiak21-Aug-06 8:44 
GeneralRe: Large Heap Doesn't Compact? Pin
BarV21-Aug-06 8:58
BarV21-Aug-06 8:58 
AnswerRe: Large Heap Doesn't Compact? Pin
Guffa21-Aug-06 8:47
Guffa21-Aug-06 8:47 
GeneralRe: Large Heap Doesn't Compact? Pin
BarV21-Aug-06 8:59
BarV21-Aug-06 8:59 
GeneralRe: Large Heap Doesn't Compact? [modified] Pin
Dave Kreskowiak21-Aug-06 9:19
mveDave Kreskowiak21-Aug-06 9:19 
GeneralRe: Large Heap Doesn't Compact? Pin
BarV21-Aug-06 9:33
BarV21-Aug-06 9:33 
GeneralRe: Large Heap Doesn't Compact? Pin
Dan Neely21-Aug-06 9:38
Dan Neely21-Aug-06 9:38 
Dave Kreskowiak wrote:
No, it's not. Moving large blocks of memory around can take an eternity, so there is no compaction, or defragmentation as your calling it. The hole remains where it was created. But the CLR is smart enough to fill that hole with whatever it can, whenever it can. The memory is not "just wasted".


Not in bulk, but in small amounts, it can effectively be. The problem is that the large object heap can fragment in the same way as a standard heap in a native app. The risk of large scale fragementation is minimal though because you need frequent de/allocation on the heap to cause it, and you shouldn't be creating and destroying large objects very often.
GeneralRe: Large Heap Doesn't Compact? Pin
Dave Kreskowiak21-Aug-06 9:57
mveDave Kreskowiak21-Aug-06 9:57 
GeneralRe: Large Heap Doesn't Compact? Pin
Dan Neely21-Aug-06 10:05
Dan Neely21-Aug-06 10:05 
GeneralRe: Large Heap Doesn't Compact? Pin
Dave Kreskowiak21-Aug-06 10:28
mveDave Kreskowiak21-Aug-06 10:28 
Question.net odbc provider Pin
Rothco21-Aug-06 6:41
Rothco21-Aug-06 6:41 
AnswerRe: .net odbc provider Pin
Dave Kreskowiak21-Aug-06 8:00
mveDave Kreskowiak21-Aug-06 8:00 
GeneralRe: .net odbc provider Pin
Rothco21-Aug-06 8:06
Rothco21-Aug-06 8:06 
QuestionProcess Killer Pin
DanB198321-Aug-06 6:19
DanB198321-Aug-06 6:19 
AnswerRe: Process Killer Pin
Dave Kreskowiak21-Aug-06 7:49
mveDave Kreskowiak21-Aug-06 7:49 
GeneralRe: Process Killer Pin
DanB198321-Aug-06 23:01
DanB198321-Aug-06 23:01 
QuestionGet contents from "RichEdit20W" class Pin
priyank_ldce21-Aug-06 0:47
priyank_ldce21-Aug-06 0:47 
QuestionTo run application written in .Net VC++ 2005 Pin
Andy Rama20-Aug-06 23:19
Andy Rama20-Aug-06 23:19 
AnswerRe: To run application written in .Net VC++ 2005 Pin
Keith Malwitz21-Aug-06 2:15
Keith Malwitz21-Aug-06 2:15 
AnswerRe: To run application written in .Net VC++ 2005 Pin
Jun Du21-Aug-06 5:12
Jun Du21-Aug-06 5:12 
QuestionCOFF Format ? Pin
S Pandian20-Aug-06 20:58
S Pandian20-Aug-06 20:58 
AnswerRe: COFF Format ? Pin
Guffa20-Aug-06 21:51
Guffa20-Aug-06 21:51 
AnswerRe: COFF Format ? Pin
Mike Dimmick21-Aug-06 2:23
Mike Dimmick21-Aug-06 2:23 
Questionwhen .net2003 solution is migrated to .net2005, controls are not as .net2005 Pin
Ravikumar Patra18-Aug-06 3:17
professionalRavikumar Patra18-Aug-06 3:17 

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.