C Run-Time Error R6008

not enough space for arguments

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

One of the following may be a solution:

  • Increase the amount of memory available to the program.

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

  • Reduce the environment size by removing unnecessary variables.