IIS Express - increase memory limit

asp.net, c#, iis, iis-express, visual-studio

Solution

Go to Visual Studio - Tools - Options Menu

Choose: - Projects and Solutions, then Web Projects

tick the checkbox: "User the 64 bit version of IIS Express for web sites and projects"

No Registry edit necessary.

Problem

I have a VS project in .NET MVC5 which loads an external dll file that uses a lot of memory. In average it uses from 500-1000MB memory. Now when I try to debug my project with default IIS Express server I almost always get OutOfMemory exception. I know that there is a /3gb flag for normal IIS but what about IIS Express. Are there any settings so I can enable this or is there any other solution to this problem except of installing a full IIS on development PC? PS: Developer PC has Windows 8.1 64x and Visual Studio 2013.

Original source