Click here to Skip to main content
15,887,998 members
Home / Discussions / C#
   

C#

 
AnswerRe: c# function for Image Compression Pin
benjymous14-Jul-09 1:42
benjymous14-Jul-09 1:42 
AnswerRe: c# function for Image Compression Pin
Ennis Ray Lynch, Jr.14-Jul-09 6:15
Ennis Ray Lynch, Jr.14-Jul-09 6:15 
QuestionWindow Service memory leak Pin
himanshu256114-Jul-09 0:36
himanshu256114-Jul-09 0:36 
AnswerRe: Window Service memory leak Pin
Luc Pattyn14-Jul-09 1:11
sitebuilderLuc Pattyn14-Jul-09 1:11 
GeneralRe: Window Service memory leak Pin
himanshu256114-Jul-09 19:40
himanshu256114-Jul-09 19:40 
GeneralRe: Window Service memory leak Pin
Luc Pattyn15-Jul-09 0:12
sitebuilderLuc Pattyn15-Jul-09 0:12 
GeneralRe: Window Service memory leak Pin
himanshu256115-Jul-09 1:38
himanshu256115-Jul-09 1:38 
GeneralRe: Window Service memory leak Pin
Luc Pattyn15-Jul-09 1:50
sitebuilderLuc Pattyn15-Jul-09 1:50 
I see you haven't really understood my point yet: the large-object-heap does not get compacted, i.e. when there are empty holes in the one huge memory block it manages, then the occupied blocks are NOT shifted to create one big empty hole; moving large blocks was considered too expensive. The net result is, you could have 2GB of memory filled with a pattern like this:
80KB in use
90MB free
80KB in use
90MB free
80KB in use
...
80KB in use
90MB free
80KB in use
90MB free

which means less than one percent is in use, and still you can't allocate a single 100MB block.
That is what fragmentation is about; and that is why "memory usage" numbers don't tell you whether the situation exists or not.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

AnswerRe: Window Service memory leak Pin
PIEBALDconsult14-Jul-09 6:24
mvePIEBALDconsult14-Jul-09 6:24 
GeneralRe: Window Service memory leak Pin
himanshu256114-Jul-09 19:42
himanshu256114-Jul-09 19:42 
Questionhorizontal scroll bar on the panel.... Pin
spalanivel14-Jul-09 0:06
spalanivel14-Jul-09 0:06 
AnswerRe: horizontal scroll bar on the panel.... Pin
Henry Minute14-Jul-09 0:26
Henry Minute14-Jul-09 0:26 
GeneralRe: horizontal scroll bar on the panel.... Pin
spalanivel14-Jul-09 0:35
spalanivel14-Jul-09 0:35 
GeneralRe: horizontal scroll bar on the panel.... Pin
Henry Minute14-Jul-09 0:43
Henry Minute14-Jul-09 0:43 
QuestionMicrosoft Visual C++ Library Pin
GauravKP13-Jul-09 23:35
professionalGauravKP13-Jul-09 23:35 
AnswerRe: Microsoft Visual C++ Library Pin
stancrm13-Jul-09 23:40
stancrm13-Jul-09 23:40 
AnswerRe: Microsoft Visual C++ Library Pin
Manas Bhardwaj13-Jul-09 23:43
professionalManas Bhardwaj13-Jul-09 23:43 
QuestionUploading Files to HTTPS site [modified] Pin
The_Collector13-Jul-09 23:28
The_Collector13-Jul-09 23:28 
AnswerRe: Uploading Files to HTTPS site Pin
Manas Bhardwaj13-Jul-09 23:39
professionalManas Bhardwaj13-Jul-09 23:39 
GeneralRe: Uploading Files to HTTPS site Pin
The_Collector14-Jul-09 2:16
The_Collector14-Jul-09 2:16 
GeneralRe: Uploading Files to HTTPS site Pin
The_Collector14-Jul-09 18:06
The_Collector14-Jul-09 18:06 
QuestionMaking a video?? Pin
Muammar©13-Jul-09 23:28
Muammar©13-Jul-09 23:28 
AnswerRe: Making a video?? Pin
Manas Bhardwaj13-Jul-09 23:44
professionalManas Bhardwaj13-Jul-09 23:44 
Questionhow to generate only 0's and 1's for given times.... Pin
spalanivel13-Jul-09 23:28
spalanivel13-Jul-09 23:28 
AnswerRe: how to generate only 0's and 1's for given times.... Pin
Manas Bhardwaj13-Jul-09 23:49
professionalManas Bhardwaj13-Jul-09 23:49 

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.