MSVC Package Server blocking the system RRS feed

  • Question

  • Suddenly, after opening my solution, the Visual Studio background process "Microsoft (R) Visual C++ Package Server" starts consuming all available resources, especially memory, leading to swapping and effectively grounding the system to a halt.

    When killing the process, it immediately starts up again which allowed me to take this screenshot after it allocated nearly 3 GB of memory in about 2 seconds: http://i43.tinypic.com/14todc9.png

    I tried deleting the .sdf, .suo and other generated files from the directory of the solution but that didn't help.

    Any tips?

    Best regards


    Edit: the problem appears with both Ultimate and Express editions of MSVC

    Edit: I seem to have found a possible source for this problem.

    Putting the following code from outside inside a class, it will cause the above symptoms:

        static std::map<int, Platform::String^> documentCategories = []() {
            std::map<int, Platform::String^> result;
            result[0] = "unknown";
            result[1] = "receipt";
            result[2] = "invoice";
            result[3] = "contract";
            result[4] = "manual";
            result[5] = "shipping";
            return result;

    • Edited by Marcus Ilgner Tuesday, April 17, 2012 4:53 PM added possible reason for crash
    Tuesday, April 17, 2012 2:11 PM

All replies

  • Hello Marcus,

    I am trying to involve someone familiar with this topic to further look at this issue.


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, April 19, 2012 5:32 AM