I changed the memory allocation of ADS 11.0.11 in datastudio.ini i.e -Xms512M -Xmx1024M. Now I see at the bottom right memory currently used by ADS. It says 100:501:910MB, I understand its the ratio of Currently used memory : OS assigned Memory for AdS: Max. I guess OS assigned 501MB at some point in time when I am doing excessive queries and when I am not using ADS to full potential it still holds on to 512MB . Is there any way I can give OS back some memory assigned to ADS. My machine is running out of memory. I think I can reduce my Xmx to 512MB but is there any other workaround?