flush persistent maps after each module chunk