make ttree memory persistent