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
Netlogon Service stopped on SBS2003
USB webcam 50-feet from computer
web forms: xForms or javascript forms: which one is the best?
Content disappearing after I hit a link?
Cisco CallManager CRD Analysis and Reporting
Microsoft Word and outlook formatting problems
Joomla Module
delphi Run once
2 ways in ASP.NET to open a different page?
How to configure Active Sync in Exchange 2003 and iPhone 3GS