How much RAM do you have in your computer? It sounds like other resources are using the RAM. It might be that you have to render out your comp with fewer effects (switch off intensive effects) then reapply the switched off effects to the rendered footage and render again.