implemented os_freeProcessMemory