Windows does not unload dll files a program has used after it has been closed, to speed up a possible restart of the program.


Use Regedit to edit: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer Add the DWORD value named: AlwaysUnloadDLL and set it to 1

Thanks for this. However, what advantage does unloading DLLs have? Does it free up RAM?

Yes .. the programs use dll libraries but they are not automatically unloaded ... taking a pretty much amount of ram .. only for users who dont restart programs frequently( frequently means a lot of times in one session).

how to unload dll:

I use warecase XTM. Very efficient tool to unload dll and to control other internal processes.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.