Have XP automatically unload dll's from cash memory when they are no longer running.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer

Create new DWORD value named AlwaysUnloadDll, and give it a value of 1.

This may produce errors with some 16 bit programs. If that happens delete the new key or give it a value of 0.