English

Problem: Loading large files in IMemoryBlobStream causes out of memory error

Description

When loading large files (over 100MB) using IMemoryBlobStream.LoadFromFile an "out of memory" error may be returned.

Cause

The interface is not allocating memory correctly.

Solution or Workaround

The file is being loaded into memory and the available resources need to be allocated better.

  • Try to limit the size of the input data as much as possible by compacting personal geodatabases before loading them into the BLOB.
  • File geodatabases should be compressed and may need to be uncompressed when extracted from the BLOB.