memory should be in KB