This trick will allow us to optimize memory by focusing on the memory allocated to the inputs / outputs.

Run regedit (Start menu, select Run ... and type regedit)
Go to
HKEY_LOCAL_MACHINE/ SYSTEM/CurrentControlSet/Control/Session Manager/Memory Management
Create or edit the DWORD IoPageLockLimit
Give it one of the following depending on your amount of RAM (in hexadecimal value):
- 128 MB of RAM: 0001C000
- 256 MB of RAM: 0003C000
- 384 MB of RAM: 0005C000
- 512 MB of RAM: 00070000
- 1024 MB of RAM: 000F0000
Reboot

It is quite difficult to find an appropriate value for IoPageLockLimit. It may nevertheless establish the following rule:
- If you have less than 64 MB of RAM, you must subtract 7Mb your total amount of RAM before converting to hex.
- Between 64 and 512, you must subtract 16 MB to your total amount of RAM before converting to hex.
- From 512 MB, you must subtract 64 MB to your total amount of RAM before converting to hex.

Example with 512 MB:
512 - 64 = 448 (subtract the amount of RAM with 64 total)
448 * 1024 = 458752 (on converts megabytes in kilobytes)
458752 = 70000 (converted to hex, the Windows calculator can do for you)
It gives the value 70000 (or 00070000 8-digit) to IoPageLockLimit