There are many reasons why you could get a .net error.
If you consistently see this error often, you might benefit from adjusting your windows memory settings.
This video demonstrates the process for adjusting those settings.
Also, check out this link with other tips from Microsoft
Click the video below to play it. To view in fullscreen mode, first click the YouTube link at the bottom of the video to launch the video on the YouTube site. Then, click the fullscreen button (rightmost button at bottom of video).
Recorded in 1024 x 768 resolution.