Store memory in KB on mac target as well