mem usage and leak test ok