Select your product to confirm this information applies to you

WIN_BADALLOCATION.CPP Error in BaseCamp

The WIN BADALLOCATION.CPP error in BaseCamp™ software is caused by custom maps that contain very large images.

To resolve this, download and install the latest version of BaseCamp software.

It is possible to avoid the problem by deleting the problematic Custom Map. Unfortunately, in most cases when this occurs, it will happen repeatedly when the application restarts. BaseCamp software starts with the map positioned in the same place as when the application was last closed, so it will encounter the same problem each time it restarts. This prevents deleting the Custom Map. This can be avoided by deleting the saved map positions which are saved in the system registry in the key located at:

HKEY_CURRENT_USER\Software\Garmin\BaseCamp\Settings\Products

Deleting this key (and all sub-keys) will cause BaseCamp software to start with a default map position, allowing the problematic Custom Map to be deleted.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows. Garmin cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

To open Registry Editor:

  1. Press the Windows key + R
  2. Type regedit
  3. Click OK

Important: Before making any changes, create a backup of the registry.  

To back up the registry:

  1. Click File in the menu bar of the Registry Editor
  2. Click Export
  3. Under Export range, click All
  4. Name the file (e.g. regbackup)
  5. Choose an accessible location to save the file, such as the Desktop
  6. Click the Save button

Registry Editor may appear to freeze for several minutes while the backup is created.  "(Not Responding)" may also display in the title bar during this process.  Once the application starts responding again, the registry key can be deleted..


To Delete the Registry Key:

  1. In the Registry Editor, click the + next to HKEY_CURRENT_USER
  2. Click ▷ next to Software
  3. Click ▷ next to Garmin
  4. Click ▷ next to BaseCamp
  5. Click ▷ next to Settings
  6. Right-click the Product folder
  7. Click Delete

After this registry key has been deleted, BaseCamp software should open without issues. Once BaseCamp software is open, delete the custom maps causing the issue to prevent issues in the future.