Click here to Skip to main content
14,391,319 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 16:31
MemberSuper Lloyd14-May-19 16:31 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 17:16
Memberhoney the codewitch14-May-19 17:16 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 17:44
MemberSuper Lloyd14-May-19 17:44 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 17:48
Memberhoney the codewitch14-May-19 17:48 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 18:13
MemberSuper Lloyd14-May-19 18:13 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 18:17
Memberhoney the codewitch14-May-19 18:17 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 18:24
Memberhoney the codewitch14-May-19 18:24 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 18:30
MemberSuper Lloyd14-May-19 18:30 
yes, on process exit memory is collected.

but general purpose class in a reusable library should not limit to such narrow scenario (of short living utility process). Particularly when there is an easy 3 line fix.

For example what if you wrapped an HBITMAP in a nice C# resource in a drawing program that can be left open for hours or days.. but every now and then the computer will slow down dramatically and the user will reboot because he has no idea what's going on...

or maybe he will investigate the problem and realize it's that "sh*t drawing program" that is leaking memory again! That's not something I want to happens to my users...

Or for another example you got this webserver running 24/7 serving millions request every hours....
But then, suddenly, the process becomes super slow and the webserver need be restarted every hour it turns out. unacceptable!

Finally do you really want to tell a potential job interviewer you don't bother making your resource garbage collection friendly because one can just restart the application?! OMG | :OMG:
A new .NET Serializer
All in one Menu-Ribbon Bar
Taking over the world since 1371!


modified 14-May-19 23:35pm.

GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 18:38
Memberhoney the codewitch14-May-19 18:38 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 19:16
MemberSuper Lloyd14-May-19 19:16 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 19:30
Memberhoney the codewitch14-May-19 19:30 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 19:32
Memberhoney the codewitch14-May-19 19:32 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 19:40
MemberSuper Lloyd14-May-19 19:40 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 19:43
Memberhoney the codewitch14-May-19 19:43 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 19:55
MemberSuper Lloyd14-May-19 19:55 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 20:03
Memberhoney the codewitch14-May-19 20:03 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 20:11
MemberSuper Lloyd14-May-19 20:11 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 20:32
Memberhoney the codewitch14-May-19 20:32 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 20:37
MemberSuper Lloyd14-May-19 20:37 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 20:56
Memberhoney the codewitch14-May-19 20:56 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 21:32
MemberSuper Lloyd14-May-19 21:32 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch15-May-19 4:38
Memberhoney the codewitch15-May-19 4:38 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 20:12
MemberSuper Lloyd14-May-19 20:12 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
honey the codewitch14-May-19 20:29
Memberhoney the codewitch14-May-19 20:29 
GeneralRe: Some thoughts on the .net CLR/CLI Pin
Super Lloyd14-May-19 20:40
MemberSuper Lloyd14-May-19 20:40 

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.