Having recently migrated to Windows 10 from a Windows 7 and Linux (Ubuntu/Kali/Redhat) along with extensive usage of virtual OS's

Finding it difficult to reduce memory footprint of windows 10 OS on a new lenovoZ51-70 laptop trying to run a migrated guest OS which is failing with below error in eventvwr logs of host OS

Provider [ Name] Application Error

EventID 1000 [ Qualifiers] 0

Level 2

Task 100

Keywords 0x80000000000000

TimeCreated [ SystemTime] 2016-01-26T10:26:59.000000000Z

EventRecordID 2163

Channel Application

Computer ZeroCool

EventData VirtualBox.exe 569e6712 QtCoreVBox4.dll 5565c7c8 c0000005 0000000000023217 1594 01d1582400729aef C:\Program Files\Oracle\VirtualBox\VirtualBox.exe C:\Program Files\Oracle\VirtualBox\QtCoreVBox4.dll 6f631a15-7ad8-4d59-bde5-59a431caf81e

and Virtual box virtual logs point towards lacking of available ram for application to lock on to ... where the guest only requires 1600MB and the laptop has 4GB ram and OS limits the apps from consuming ram more than 1400MB and as per suggestion from Virtual box community have increased virtual memory of the OS significantly.

Upgrading to another ram module is highly unlikely for next few months !! this query is raised only after considerable research in all technical forums available ..... Being an Enterprise app developer have done my homework...

All i require from this forum is to provide me list of Useless OS services consuming the memory i would not mind to hack into registry or a Dll if need be ....

Or steps to decrease memory footprint of Windows 10 OS

After going through few technical forums changed a registry key and page file size.

REGISTRY UPDATE * Start > regedit (type regedit after clicking Start) * HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Session Manager > Memory Management * Right click ClearPageFileAtShutDown > Modify > change Value Data to 1. * Reboot (either now or after Control Panel Update below)

CONTROL PANEL UPDATE * Control Panel > System and Security > System > Advanced system settings > Performance > Settings > Virtual memory * Uncheck "Automatically manage paging file size for all drives" * Check "System managed size" button * Reboot

Still memory consumption of the Windows 10 64bit still remains 3Gigs oddly.

Windows resource manager screenshot Windows taskmanager screenshot Virtual Box error message Virtual box error screen shot

In Windows 10, they have added a new concept in the Memory Manager called a compression store, which is an in-memory collection of compressed pages. This means that when Memory Manager feels memory pressure, it will compress unused pages instead of writing them to disk. This reduces the amount of memory used per process, allowing Windows 10 to maintain more applications in physical memory at a time. This also helps provide better responsiveness across Windows 10. The compression store lives in the System process’s working set. Since the system process holds the store in memory, its working set grows larger exactly when memory is being made available for other processes. This is visible in Task Manager and the reason the System process appears to be consuming more memory than previous releases.

Is there a way I could tweak Compression Store for my requirements ?

  • Your not going to be able to. Windows 10 Version 1511 specifically by its very nature will use slightly more memory then an equally configured Windows 7, because of the compression memory management improvements, but within memory Windows 10 Version 1511 will hold more data then compared to equally configured versions Windows. In other words Windows is managing more data, with only a slight increase, then any other version of Windows. – Ramhound Jan 28 '16 at 15:13
  • Clearing the page file, at shutdown, will caused Windows to consume more memory at startup since it now has to rebuild the page file. Don't mess with settings you don't understand. – Ramhound Jan 28 '16 at 15:14
  • I do understand what clearing pagefiles do however I have virtual apps to run which requires me to clear up paging – snoopy Jan 28 '16 at 15:16
  • 1
    Consider using hyper - v instead of Virtual box. – Falco Alexander Jan 30 '16 at 13:47
  • 1
    this is Win10 Pro Hyper-v running 3 VMs (Win7, nano server, Linux) and edge browser with 1 tab -> screenshot – Falco Alexander Jan 30 '16 at 14:01

You can try adding more memory pressure to your system such that Windows pushes memory pages from RAM to the page file. The sysinternals testlimit program lets you allocate lots of memory (as outlined in one of Russinovich's blog posts), which should (hopefully) convince the memory manager to push data to the page file.

Run the following and let it hammer for a while (monitor your RAM in task manager), then terminate it.

testlimit64 -m 100

You should see other processes physical commit charge (ie: actual RAM usage) decrease and testlimit hog everything. When testlimit ends, you should have more RAM available than when you started.

Important note: this may let you start your VM, but will also slow down all the other programs running on your computer because when you next use them, they'll have less physical RAM to use and will need to load from the page file.

(This is a workaround rather than an actual fix. More RAM is the best solution, as already noted) .


In the screen shot you posted I see "firefox.exe" taking 200 MB. So you probably manually started Firefox. That's why this screen shot is useless, you should make a screen shot right after boot, before you launch any application. In that way we can see how much RAM you have available after all the background programs have started.

If you're lacking RAM and don't want to add more RAM, you should definitely switch on page file. This is an extension of your RAM, but it is placed on hard drive. Although this RAM's performance is poor compared to real RAM and it will slow down your applications, you will be able to start VirtualBox.

I think that VirtualBox requires explicitly real RAM, it does not want to use swap. That's why you need to start it as soon as you boot into OS while there's enough physical RAM for it and other applications will use swap if there's not enough physical RAM after VirtualBox has started.

If you cannot start VirtualBox first thing after boot, download Sysinternals Autoruns from here. There you can switch on and of programs and services that run on startup of system and user log on. But be careful, if you disable something important for system operation your Windows will not boot!

What exactly to disable depends on many things and it's too complicated to be posted here.

For start you can disable automatic startup of things like Skype, Mozilla maintenance service, Google update services, Adobe update services, so called "system tuning utilities", etc. Basically it is safe to disable all of the programs you installed yourself and have auto startup. For system services it cannot be explained here, you should be careful and know what you're doing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.