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

.NET (Core and Framework)

 
QuestionSystem.Design - Not enough memory resources Pin
JoshWilliams5-Jan-23 10:37
JoshWilliams5-Jan-23 10:37 
AnswerRe: System.Design - Not enough memory resources Pin
Dave Kreskowiak5-Jan-23 14:25
mveDave Kreskowiak5-Jan-23 14:25 
GeneralRe: System.Design - Not enough memory resources Pin
trønderen5-Jan-23 15:09
trønderen5-Jan-23 15:09 
GeneralRe: System.Design - Not enough memory resources Pin
Dave Kreskowiak5-Jan-23 15:35
mveDave Kreskowiak5-Jan-23 15:35 
GeneralRe: System.Design - Not enough memory resources Pin
trønderen5-Jan-23 17:54
trønderen5-Jan-23 17:54 
GeneralRe: System.Design - Not enough memory resources Pin
Eddy Vluggen5-Jan-23 23:55
professionalEddy Vluggen5-Jan-23 23:55 
GeneralRe: System.Design - Not enough memory resources Pin
Pete O'Hanlon6-Jan-23 2:11
mvePete O'Hanlon6-Jan-23 2:11 
GeneralRe: System.Design - Not enough memory resources Pin
Dave Kreskowiak6-Jan-23 11:44
mveDave Kreskowiak6-Jan-23 11:44 
trønderen wrote:
Possible? Sure. Common? ???

You'd be amazed at how many people don't know this stuff.


trønderen wrote:
Re. Dispose: Sure, you do not know exactly when GC will come in and release the memory / handles occupied. But if resources run low, the GC will attempt to release non-referable resources;

If memory runs low, the GC will jump in and execute a collect. The GC doesn't look at the handle pool at all to determine if it should run or not. If your code is leaking handles like crazy, but memory is not being stressed at all, the GC will not collect.

Yes, I've seen it happen myself, with a service that Dell wrote, back in the day.

GeneralRe: System.Design - Not enough memory resources Pin
jschell10-Jan-23 6:46
jschell10-Jan-23 6:46 
GeneralRe: System.Design - Not enough memory resources Pin
Dave Kreskowiak10-Jan-23 6:47
mveDave Kreskowiak10-Jan-23 6:47 
GeneralRe: System.Design - Not enough memory resources Pin
jschell15-Jan-23 7:40
jschell15-Jan-23 7:40 
GeneralRe: System.Design - Not enough memory resources Pin
Dave Kreskowiak15-Jan-23 8:07
mveDave Kreskowiak15-Jan-23 8:07 
GeneralRe: System.Design - Not enough memory resources Pin
trønderen15-Jan-23 12:29
trønderen15-Jan-23 12:29 
GeneralRe: System.Design - Not enough memory resources Pin
Dave Kreskowiak15-Jan-23 13:50
mveDave Kreskowiak15-Jan-23 13:50 
AnswerRe: System.Design - Not enough memory resources Pin
Randor 5-Jan-23 16:10
professional Randor 5-Jan-23 16:10 
AnswerRe: System.Design - Not enough memory resources Pin
jschell10-Jan-23 7:05
jschell10-Jan-23 7:05 
GeneralRe: System.Design - Not enough memory resources Pin
jochance7-Mar-23 9:26
jochance7-Mar-23 9:26 
Questionpasting a sub into windows forms Pin
Member 1587993730-Dec-22 1:19
Member 1587993730-Dec-22 1:19 
AnswerRe: pasting a sub into windows forms Pin
Graeme_Grant30-Dec-22 2:28
mvaGraeme_Grant30-Dec-22 2:28 
AnswerRe: pasting a sub into windows forms Pin
Gerry Schmitz30-Dec-22 4:23
mveGerry Schmitz30-Dec-22 4:23 
AnswerRe: pasting a sub into windows forms Pin
Dave Kreskowiak30-Dec-22 4:31
mveDave Kreskowiak30-Dec-22 4:31 
QuestionRuntime Prerequisites Pin
Yuppers14-Dec-22 3:12
Yuppers14-Dec-22 3:12 
AnswerRe: Runtime Prerequisites Pin
Gerry Schmitz14-Dec-22 9:01
mveGerry Schmitz14-Dec-22 9:01 
AnswerRe: Runtime Prerequisites Pin
jschell20-Dec-22 13:24
jschell20-Dec-22 13:24 
AnswerRe: Runtime Prerequisites Pin
jochance7-Mar-23 9:26
jochance7-Mar-23 9:26 

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.