An attempt was made to allocate memory (usually in the C++ layer) but it failed.