Categorized | Tech Tips

Borland Database Engine (BDE) 4GB Insufficient Disk Space Error Fix

Posted on 05 March 2010 by Bob Ritter

The following download file contains a hack/fix for the BDE error that causes GoldMine to return the infamous ‘Insufficient Disk Space’ error even though you have ample disk space available.

When you perform a database rebuild (and a few other functions), the BDE asks windows how much free disk space there is (in an attempt to avoid shredding your database.) This would be a good idea except the BDE trips up if the amount of free space you actually have (in GB) is evenly divisible by 4. So machines with 4.3GB, 16.8GB, 24.5GB, 88.2GB, etc. all choke on the regular BDE free-space request and report that there isn’t enough free space available.

When you NEED to perform a database rebuild, this can be a real problem. In the past, the solution was to free up (or take up) disk space to a point where the free space was not divisible by 4. This could get tricky, however, given that your database files shrink a bit when they’re packed and rebuilt by the maintenance procedure. This sometimes left GoldMine administrators doing a delicate dance with their database and free space throughout the maintenance procedure. Hair-raising, to say the least.

The fix (available via download below) basically routes just this BDE request (the one that checks your free disk space) to a hacked DLL that you must place in your \windows\system32 directory which properly reports the value.

Numerous GoldMine admins have reported success with it.

Download the file!

Leave a Reply

You must be logged in to post a comment.

Live chat