This documentation is archived and is not being maintained.

C Run-Time Error R6009

Error Message

not enough space for environment

There was enough memory to load the program, but not enough memory to create the envp array.

To fix by using the following possible solutions

  1. Increase the amount of memory available to the program.

  2. Reduce the number and size of command-line arguments.

  3. Reduce the environment size by removing unnecessary variables.