Google Drive – Crash

“Actually” () Google Drive is crashing all the time if you try to sync more than ~3000 files. This is because of a memory leak in the app and an other interesting point! Google Drive is an 32 Bit application.

There actually is just one way to sync Google Drive. Restart Google Drive every ~20 Minutes when you got an error message like:

NSMallocException – Attempt to allocate xxxx bytes for NS/CFData filed.
Google Drive Crash NSMallocException

 

 

 

 

 

 

 

 

 

With this script you automatically can restart Google Drive every 20 Minuted for the initial synchronization:

#!/bin/bash

while true;
do
killall Google\ Drive
open /Applications/Google\ Drive.app
sleep 1200
done

DriveRestart.sh