just save this FreeMem=Space(1024000000) as a .vbs file and run.