Out of memory (Visual Basic Run-Time Error)

More memory was required than is available.

To correct this error

  1. Close unnecessary applications, documents, or source files that are open.

  2. Break large modules or procedures into smaller ones.

  3. Eliminate terminate-and-stay-resident programs.

  4. Eliminate unnecessary device drivers.

  5. Reduce the number of public variables.

See Also

Concepts

Types of Errors