Error Compressing TAR when exporting package

When I try to export a package from unity, it freezes on Compressing Package. In the status bar it says 'Error Compressing TAR' and when I click on it it says that there is an error on line 577 of Editor\Platform\Windows\EditorUtility.cpp

Help please!

Because there is not enough space on your project drive!

It seems that the package I was exporting had too much stuff in it. Divided it into three and it worked.