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

.NET (Core and Framework)

 
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 
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 
Yes! Creating such objects and not properly freeing them CAN and DOES trigger out of memory exceptions, not resource exceptions.

I don't have to time to write up a test app right now, but there's nothing stopping you from trying it.

Oh, and exhausting the Windows handle table can crash various things in Windows, like an OpenFileDialog or MessageBox, and even crash Windows itself.

Every object type in Windows has a handle assigned to it. A handle is just a void pointer to a data structure in memory. Windows, buttons, menus, icons, bitmaps, pens, mutexes, threads, a structure, opening a file, basically, anything in Win32 that has a pointer or handle type that begins with "h", all of these objects end up in the handle (or object) table in Windows. Pretty much ... EVER-Y-THANG.

Read up on the Object Manager here[^].

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 
QuestionConvert image pdf to text in c# Pin
manish0037-Dec-22 19:08
manish0037-Dec-22 19:08 
AnswerRe: Convert image pdf to text in c# Pin
OriginalGriff7-Dec-22 19:09
mveOriginalGriff7-Dec-22 19:09 
GeneralRe: Convert image pdf to text in c# Pin
arushi mehra10-Dec-22 5:13
professionalarushi mehra10-Dec-22 5:13 
GeneralRe: Convert image pdf to text in c# Pin
Dave Kreskowiak10-Dec-22 5:33
mveDave Kreskowiak10-Dec-22 5:33 

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.