C Runtime Error R6024 (original) (raw)

not enough space for _onexit/atexit table

Remarks

Note

If you encounter this error message while running an app, the app was shut down because it has an internal memory problem. This error is usually caused by an extremely low memory condition, or rarely, by a bug in the program or by corruption of the Visual C++ libraries that it uses.

You can try these steps to fix this error:

Information for Programmers

This error occurs because there was no memory available for the _onexit or atexit function. This error is caused by a low-memory condition. You may consider pre-allocating buffers at app startup to assist in saving user data and performing a clean app exit in low-memory conditions.