After upgrading to Windows 8.1, unable to run Windows Phone emulator without memory error
Asked Answered
M

3

10

After I updated my Samsung Series 9 SSD laptop with 8GB of RAM to Windows 8.1, (not even a year old, and top-of-line when purchased last november), I am now unable to run the Windows Phone emulator while debugging my WP8 app.

The error messages I see is:

"Not enough memory in the system to start the virtual machine emulator WVGA 512MB.user with ram size 512 megabytes"

Well, the instant I attempt to run a build, it the machine immediately goes from 25% memory consumed to 80% consumed. Even after I close Visual Studio Express 2012, still it is stuck at 80% memory consumption according to the task manager. At this point, I am unable to run the Windows Phone emulator to test my app.

How can I work around this issue without replacing my hardware?

Thanks!

Malversation answered 2/11, 2013 at 4:43 Comment(8)
Have you tried reinstalling VS Express? Since yesterday VS2013 Express is available. I know it's a long shot but maybe worth a try..Evzone
Do you have the Visual Studio Update 3 installed? That addresses compatibility issues with VS2012 on Windows 8.1.Ramer
VS Express 2013 doesn't include support for Windows Phone.Malversation
After installing VS Update 3, VS Express 2012 will not launch at all. I am now totally unable to do any Windows Phone development at all.Malversation
OK, after a complete reinstall of Windows 8, upgrade to 8.1, install of VS Express, and installation of the update 3, it is working again now and not giving me memory errors.Malversation
I have the exact same problem with my Surface Pro and Visual Studio 2012 and 2013. Only way to get the Emulator working is to start the VM in the first minute after a reboot.Tetrabrach
Good to you, if I install the WP SDK on my W8.1 machine, blue screens problems arise. It seems the HyperV drivers are very conflicting with my Network Adapter drivrs... GG Microsoft...Epigastrium
You better to buy this: r.ebay.com/ojn55V and upgrade to 8GBRamulose
M
5

Microsoft has now posted a KB article with information about how to edit the registry to correct this:

  1. Start Registry Editor.
  2. Locate the following registry subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization

  3. Right-click the Virtualization folder, point to New, and then click DWORD Value.
  4. Type MemoryReserve, and then press Enter.
  5. Double-click MemoryReserve, enter 2048 in the Value data box, select the Decimal option, and then click OK.
  6. Close Registry Editor.
Malversation answered 15/1, 2014 at 22:22 Comment(1)
i followed this, Still can't get it up and running.Ripuarian
W
1

I can't post comments yet but I wanted to confirm being able to start the emulator after starting the Hyper-V Manager. I was getting memory errors trying to launch the emulator; I started the emulator via the Hyper-V Manager and was able to launch it from VS2013.

Whorl answered 3/12, 2013 at 18:22 Comment(1)
Yes I have to do this every time now too.Malversation
A
0

Closing down some applications (eg SQL Server) did the trick for me.

Algerian answered 21/9, 2015 at 4:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.