Sometimes the amount of magma erupted is so large that the top of the volcano collapses . This leaves a caldera behind . The amount of magma erupted can be so large that the top of the volcano may collapse , resulting in a caldera .