Category Archives: Kernal mode and User mode

Memory Support in Windows – Kernal v User Virtual Addressing

Last week I was on a workshop by Microsoft it was for troubleshooting performance issues on Servers.

One of the interesting thing which I came across in the workshop was about the memory management  and the way Windows handles the memory.

By default Windows allocate’s virtual address space to User mode and Kernal mode, Windows assumes that it has 4 gb of virtual address space and it splits it into two half.

ie. 2 GB virtual address space to Kernal and 2 GB virtual address space to User

We can tweak it and  allocate virtual address space to programs 1 GB to the kernel and to executive component.

This is how you can do it:

First un-hide the hidden files and folder make sure you unhidden the Operating system files too.

on the root directory ie C drive you will find boot.ini file take a backup of it on keep it safe.

Edit boot.ini and add \3GB at the end Read the rest of this entry

%d bloggers like this: