Open those programs one at a time and check whether or not they keep your memory in use after closing. If not, open them all up or in pairs or however until you find the combination that uses all the ram even after closing. After that, open up taskmanager and look under Processes(first Priority) and Services(likely not needed). Find the culprit and right-click End Process/Stop Service.
If you can't tell what a program is by the info Taskmanager gives you, Don't Close It! If you do, it'll generally be a BSOD, followed by restart and you should be okay, but it's better to just not risk that. Generally though, the descriptions are fairly useful in telling you what everything is as opposed to the processes name. Like Avast is names ashWebSv...
This won't truly fix the problem, it's more of just a workaround to avoid restarting. It's what I do for my memory leak with my Audio, it'll leak upto 1GB at which point my audio quits working, so I just end it and restart the corresponding services, much quicker than restarting like I use to.