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
Backup Exec 2010 fails on VSS services
asp - The resource could not be found
Will there be a 13" Macbook with an iCore processor anytime soon? Safe to buy C2D?
Problems Replicating SYSVOL and NETLOGON on new DC WS 2008 R2 Standard in 2003 AD
SBS 2003 server losing computer account
do i need licenses per user if i buy exchange server?
Clearing a submit form once submitted
iPad Camera Connection Kit does not display .jpg images on iPad
Possible Virus Infection - Can not connect to Internet, Max TCP connections reached.
ASP.NET Search script