There's nothing worse than running out of space in the middle of a batch render. You return expecting everything to be done; yet you are confronted with warnings that rendering was aborted due to a lack of space. If you have additional internal or external drives , a quick change to your preferences may eliminate the problem.
You need to access your preferences menu. Choose After Effects > Preferences > Output (Edit > Preferences > Output).
In the Overflow volumes area you can specify up to 5 drives to handle renders when the original volume fills up.
While you are there, be sure that the Minimum Disk Space Before Overflowing box is set to at least 500 MB. Otherwise you may experience data loss or hard rive lock-up.