Using Visual Studio 2010 and the latest dev build of PTVS 2.1, after about 30 mins to an hour of working the UI starts getting really sluggish, and I notice that the memory usage has gone up near the 3GB mark. A few minutes after this starts happening,
I will inevitably crash due to a System.OutOfMemoryException.
My setup is slightly weird, since I'm using PTVS to integrate with Maya 2013. I couldn't for the life of me get it to find the stdlib inside the python26.zip and still have access to the site-packages located elsewhere in the Maya directory, so instead I took
a clean install of Python 2.6.4, dropped the special "completion" versions of the maya and pymel modules (these versions have all the Maya Python API DLL functions as stubs with documentation, but they do not actually do anything) and some other
Maya Python modules into its Lib/site-packages folder, and pointed the Library Path at this directory.
With this setup, I do get Intellisense while writing code, and I can debug scripts running inside Maya's integrated interpreter without any problems whatsoever! Other than the extreme memory usage leading to a crash, everything's working perfectly.
I've attached a copy of the diagnostic info output. If you guys think it may be caused by some specific file that PTVS is choking on, next time it starts getting sluggish I'll attach a debugger to devenv.exe and see if I can't figure out exactly what that file
may be. Otherwise, if you guys have other ideas I'm all ears! I'm really enjoying using PTVS to edit Maya scripts and such, and I'd like to get the rest of the company set up to be able to do so as well.