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

C#

 
GeneralRe: c# function for Image Compression Pin
musefan14-Jul-09 2:42
musefan14-Jul-09 2:42 
GeneralRe: c# function for Image Compression Pin
Luc Pattyn14-Jul-09 2:44
sitebuilderLuc Pattyn14-Jul-09 2:44 
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 
Hi,

(1) I have no idea what the size of those messages would be. 80KB seems rather big for a message?

(2) fragmentation, the topic of my reply, is not caused by the amount of memory currently in use, it is caused by how the number and sizes of memory blocks evolve over time; and AFAIK Microsoft offers nothing to measure it. I know of an easy way to test it, but that test includes actions that fill the memory, i.e. allocate more until it fails. That probably is not what you want in an app, as it only makes sense if you can halt all threads but one, then fill the memory, then clean up again. The net result is you can prove there is fragmentation and how bad the situation is, it does not remedy anything.

(3) Restarting the process that throws the OOM would technically be a solution, no matter what the exact cause of the OOM is; whether it is functionally acceptable is up to you.

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.

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

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.