Man VS 2010 is a memory hog. Well heck even 2k8 was too, but at least it always let me copy/paste.
After awhile I lose the ability to copy text from my code. With a warning saying “Insufficient available memory to meet the expected demands of an operation at this time, possibly due to virtual address space fragmentation. Please try again later.”
Found this post to increase the Virtual Memory: http://msdn.microsoft.com/en-us/library/ff407021(v=VS.100).aspx
However, they have a typo in the command.
If you run their command: bcdedit /set IncreateUserVa 3072 it fails with a “The element data type specified is not recognized, or does not apply to the specified entry.” error.
Run the proper command: bcdedit /set IncreaseUserVa 3072 and you get “The operation completed successfully.”
I don’t this will remove the error, just give me more time before it happens. Supposedly, 64bit doesn't have this problem.