Windows Tweaks Logo Microsoft PC Help - 02 blue red
Windows Tweaks Logo Microsoft PC Help - 09 white 120

Windows XP - Increase the number of page table entries

January 30, 2013
Updated: April 14, 2022
Quick overview:

Windows 2000/XP/2003 can store up to 4 GB of Working memory where it is divided into two areas: The first part (up to 2 GB) is created for programs or running processes while the second part (also up to 2 GB) is only created for the "heart" of Windows, the kernel. The latter remains active with its size and reservation, regardless of how many applications are open. It is divided into "swap allocations" and "kernel stack allocations".

Swap assignments: These are allocations in the memory in which the kernel processes (basic drivers, processor control, etc.) are stored. On terminal servers, this allocation is utilized by many simultaneous logins.

Kernel stack assignments: Space is created here for each process (also known as a thread) that accesses the kernel or controls the system.

"Page assignments" take place in the "Paged Pool Area" (special area for swapping), while the kernel stack assignments are in the "System Page Table Entry (PTE)" area. This special division takes place at system startup. However, if large processes (file and memory operations for complex programs) run via the SPTE area and this is exceeded, there is a risk of crashes. These are caused by the fixed size, which cannot be expanded dynamically or taken from the "managed pool area". As the swap allocations are more important for servers, we can give the page table entries more importance by increasing the size. This means that there are still enough stack allocations available even for large file and storage operations.

Result: The performance increases and the sources of error decrease! This is how you proceed to set the number of PTEs to the maximum:

1. Click on Start/Execute and type regedit to enter the Windows registry to get there.

2. Navigate to the key one after the other HKEY_LOCAL_MACHINE\ SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management and double-click on SystemPages.

3. Wear 8xF (ffffffffff) under Value which instructs Windows to use the maximum number of PTEs.

After a restart, the new memory management is active and you can look forward to new performance with extremely complex applications!

Founded Windows Tweaks as a teenager in the 90s. His helpful PC tricks made it Germany's most visited Windows site (at the time Sandro looked like this). He then went on to write elsewhere, for example for PC-Praxis, Computer Bild and PCWorld in the USA. Microsoft also poached him from us. Now Sandro is back, finally sharing his tweaks here again. For a stress-free digital everyday life. You can reach Sandro via e-mail.

Leave a Reply

Your email address will not be published. Required fields are marked *

Windows Tweaks Logo Microsoft PC Help - 09 white 120
by Real Tech Experts
Save time and nerves with expert knowledge about software, hardware, AI & Microsoft. 
Windows Tweaks Microsoft PC Help - SINCE 1998 - retina 2

Time-saving tips for PCs, laptops, Windows and software?

Subscribe to our newsletter, receive only our best tutorials & tweaks and exclusive tips for our subscribers. 
Newsletter form
Can be canceled at any time. About 1 - 2 mails per month. The consent includes the information on revocation, shipping service provider and statistics according to our Privacy policy.
© 1998 - 2025 Windows-Tweaks.info
Made in Germany with ❤️ 
For all technology users around the globe.
This website runs on 🌳 GREEN energy
crossmenu
EN