The function was unable to allocate enough memory to store the internal structures for the Tox object.