Error "Exception of type 'System.OutOfMemoryException' was thrown.
Hi Gisele ,
According to the official document can see:
An OutOfMemoryException exception has two major causes:
-
You are attempting to expand a StringBuilder object beyond the length defined by its StringBuilder.MaxCapacity property.
-
The common language runtime cannot allocate enough contiguous memory to successfully perform an operation. This exception can be thrown by any property assignment or method call that requires a memory allocation. For more information on the cause of the OutOfMemoryException exception, see the blog post "Out of Memory" Does Not Refer to Physical Memory.
You can also try the solution in the similar thread
This problem usually occurs when some process such as loading huge data to memory stream and your system memory is not capable of storing so much of data. Try clearing temp folder by giving the command
start -> run -> %temp%
Best regards,
Community Support Team_kalyj