Tips on Memory Issues in Windows NT General All Staff
Configuring a RAM Drive
If you have more RAM than you (and NT) knows what to do with, and you really want a RAM Drive , Download RAMDISK.ZIP. In most cases, NT would make better use of the RAM for its dynamic cache. Enjoy!
Increasing the Environment Memory Available to DOS Programs
For all DOS apps, CONFIG.NT should have shell=%windir%\system32\command.com /p /e:size where "size" is the environment space you want. For 1 DOS app, use a PIF and create a custom autoexec and config file.
Out of Memory or User32.dll Failure in Windows NT 4.0.
If you get user32.dll failure when starting a service or out of memory errors when you have available memory, try this:
Scan for SharedSection=xxxx, yyyy where xxxx is the size of the desktop heap created by interactive programs (in Kilobytes) and yyyy is size of the system wide heap. Add ", zzzz" immediately after yyyy where zzzz is the size of the hidden desktop heap created by non-interactive processes. Setting this to 512 will often solve your problem. When you're done, this string will look like SharedSection=xxxx, yyyy, zzz.
You might also delete RegistrySizeLimit from HKEY_LOCAL_MACHINE\System \CurrentControlSet\Control and set PagePoolSize to 0 at HKEY_LOCAL_MACHINE\System \CurrentControlSet\Control\SessionManager\Memory Management.