Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Saturday, January 5, 2019 8:24 PM
I am working on an ASP.NET Project. I have been working on this for more than 2 months but suddenly running any page caused my laptop screen to freeze. My machine's RAM is 4 GB. When I ran same project on another machine with 8 GB RAM, I noticed that VBCS Compiler is consuming too much RAM(more than 4.5 GB). I want to remove this VBCS Compiler. Kindly suggest how can I do it.
All replies (1)
Tuesday, January 8, 2019 6:57 AM
Hi Arsal Younas,
Welcome to the MSDN forum.
*>> I am working on an ASP.NET Project. I have been working on this for more than 2 months but suddenly running any page caused my laptop screen to freeze. *
Did you make any changes to VS or this project? Like install or upgrade extensions in VS, modify the code or configuration in your project.
VBCSCompiler is a caching process for the C# and VB compilers. It's essentially a time/space trade-off: by keeping information from previous compilations in memory, it can heavily improve the performance of the compiler in subsequent compilations. How much memory it uses is dependent on various properties of your solution and how large it is. Virtual memory, however, is not a good metric for measurement, as it is a 64-bit process and will not run out of virtual memory.
If you would like to disable the cache at the penalty of slower compilation performance, you can add the following property under PropertyGroup node in your project file(s) xxx.csproj.
<UseSharedCompilation>false</UseSharedCompilation>
Please check this similar issue for the above information.
Best regards,
Sara
MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected]