Castell Computers

September 27, 2005

Insufficient Disk Space Error While Rebuilding

by @ 11:46 pm. Filed under CRM, GoldMine

“Better late than never!” is what I said when I came across a fix posted by a Paradox database guru for a BDE bug. That bug just happens to have also plagued GoldMine administrators since the dawn of the unholy marriage of GoldMine to the Borland Database Engine (BDE) back in GoldMine 4.0 days.

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 I came across 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, so I thought I’d share it with the community: Get it here!

**If you liked this article, you might also like:**

6 Comments to “Insufficient Disk Space Error While Rebuilding”

  1. Doug Castell Says:

    Please note that the instructions included in the download were written by the original author of the patch. One thing that’s only vaguely mentioned is that each machine that accesses your GoldMine installation will need the bdecker.dll copied to it’s \windows\system32\ folder to function properly once the patch is applied to your shared BDE.

  2. GeorgeG Says:

    Sounds like a cool hack, Doug. Thanks for the info.

  3. Jzingg Says:

    Another great GM fix, thanks Doug!

  4. dsteinschneider Says:

    Hi Doug,

    Finally got a chance to try out. Very simple to perform this fix.

    Doug S.

  5. ktaylor05 Says:

    I tried this patch but still get insufficient disk space error during the rebuild of my Mailbox. Please advise.

  6. Doug Castell Says:

    difficult to say. It could be an actual insufficient disk space situation, it could be that you’re not actually using the BDE that’s been patched and, instead, using one from a different directory… It could be a lot of things. Troubleshooting in a comment thread on a 5.5 year old article, however, could be a bit cumbersome. I do offer consulting services and could possibly solve the problem remotely, for a fee, of course. Feel free to contact me via phone, IM, e-mial, etc. (see the right side for various methods.)

Leave a Comment

You must be logged in to post a comment.

Castell Computers



search site:

getting help:

request immediate remote desktop support:
Request Remote Desktop Support NOW

call 310.601.4738

e mail Doug

Send a Yahoo Instant Message

Send an ICQ instant message

Send an AOL Instant Message


RSS feeds:

email alerts:




FrontRange Premier Partner




View Doug Castell's profile on LinkedIn

Valid XHTML 1.0 Transitional

Creative Commons Attribution-Noncommercial-Share Alike 3.0 License


hacker glider

Pay for services with Paypal

31 queries. 0.098 seconds