implement plain and arena memory management