Out of Memory

You allocated as much memory as is available in this computer system. This could be a result of a dynamically allocated array growing too large, or the instantiation of a large number of objects.

To correct this error

  • Use the Erase statement to reallocate dynamic-array storage space.

  • Use the ReDim statement to reallocate storage space.

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

See Also

Concepts

Nothing Keyword

Reference

Erase Statement

Dim Statement

ReDim Statement

CreateObject Function