How to release Rstudio-server session memory

I used rm and gc after deal my task and i can see Rproject memory released,but session memory still large,i want to release session memory,is there any way to solve it?

Is there any command can deal this? One method i only know is to restart session but it is not a good idea if i have a lot work to do so i want to controll it normally