Space error while running migration from plone 3.3.5 to 4.3.9

I am getting this error while upgrading from Plone 3.3.5 to Plone 4.3.9

2017-05-01T13:00:03 INFO plone.app.upgrade Started migration of files to blobs.

2017-05-01T13:00:03 INFO plone.app.upgrade Temporarily disabled link integrity checking

2017-05-01T13:55:34 ERROR plone.app.upgrade Upgrade aborted. Error:
Traceback (most recent call last):
File "/usr/local/Plone4.3.9/buildout-cache/eggs/Products.CMFPlone-4.3.9-py2.7.egg/Products/CMFPlone/MigrationTool.py", line 259, in upgrade
step['step'].doStep(setup)
File "/usr/local/Plone4.3.9/buildout-cache/eggs/Products.GenericSetup-1.8.2-py2.7.egg/Products/GenericSetup/upgrade.py", line 166, in doStep
self.handler(tool)
File "/usr/local/Plone4.3.9/buildout-cache/eggs/plone.app.upgrade-1.3.22-py2.7.egg/plone/app/upgrade/v40/betas.py", line 151, in convertToBlobs
output = migrateATBlobFiles(context)
File "/usr/local/Plone4.3.9/buildout-cache/eggs/plone.app.blob-1.5.17-py2.7.egg/plone/app/blob/migrations.py", line 161, in migrateATBlobFiles
return migrate(self, walker=getATBlobFilesMigrationWalker)
File "/usr/local/Plone4.3.9/buildout-cache/eggs/plone.app.blob-1.5.17-py2.7.egg/plone/app/blob/migrations.py", line 36, in migrate
savepoint(optimistic=True)
File "/usr/local/Plone4.3.9/buildout-cache/eggs/transaction-1.1.1-py2.7.egg/transaction/_manager.py", line 101, in savepoint
return self.get().savepoint(optimistic)
File "/usr/local/Plone4.3.9/buildout-cache/eggs/transaction-1.1.1-py2.7.egg/transaction/_transaction.py", line 260, in savepoint
self._saveAndRaiseCommitishError() # reraises!
File "/usr/local/Plone4.3.9/buildout-cache/eggs/transaction-1.1.1-py2.7.egg/transaction/_transaction.py", line 257, in savepoint
savepoint = Savepoint(self, optimistic, *self._resources)
File "/usr/local/Plone4.3.9/buildout-cache/eggs/transaction-1.1.1-py2.7.egg/transaction/_transaction.py", line 690, in init
savepoint = savepoint()
File "/usr/local/Plone4.3.9/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 1123, in savepoint
self._commit(None)
File "/usr/local/Plone4.3.9/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 623, in _commit
self._store_objects(ObjectWriter(obj), transaction)
File "/usr/local/Plone4.3.9/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 682, in _store_objects
s = self._storage.store(oid, serial, p, '', transaction)
File "/usr/local/Plone4.3.9/buildout-cache/eggs/ZODB3-3.10.5-py2.7-linux-x86_64.egg/ZODB/Connection.py", line 1286, in store
self._file.seek(self.position)
IOError: [Errno 28] No space left on device

2017-05-01T13:55:49 INFO plone.app.upgrade End of upgrade path, main migration has finished.

2017-05-01T13:55:51 ERROR plone.app.upgrade The upgrade path did NOT reach current version.

2017-05-01T13:55:51 ERROR plone.app.upgrade Migration has failed

2017-05-01T13:55:51 INFO plone.app.upgrade Dry run selected, transaction aborted

Can someone help me out with this error.

This pretty much says it: your hard disk is full, you need to remove some files from it (maybe old backups?) or make the hard disk bigger.

I already have 600 GB of space on my hard disk. I guess its not related to that

Maybe you don't have much space on the partition you're using for the upgrade.