Microsoft
Software
Hardware
Network
Question : "Out of memory" exception
I have a program in C# (written in VS2008) that creates and adds elements to a list of structures. The list can grow very large. When the program's memory usage reaches 250 Mbytes (looking in Task Manager), it throws an exception of type 'System.OutOfMemoryExcepti
on'. This happens every time I run it. I have 2Gb of RAM and it is nowhere near being full when the exception is thrown. Is there some kind of memory allocation limit on the size of objects? Any other possible reasons for the exception? Thank you.
Answer : "Out of memory" exception
UPDATE Prod SET webpg2 = 'test.asp?Prodno=' + ProdNo
Random Solutions
Refining an algebra formula
Limiting User Access
usercontrols, docking and scrolling problems
Dot Net IL Code to C# conversion
Move Sharepoint 2010 DB's from one server to another
jquery validator and asp.net updatepanel
Using System.Type in switch()
Page progress updates from a long running process
Office 2003 - dollar sign shows up as an arrow
ClearOS Enterprise 5.2 Alpha 1