xmalloc: out of memory when requesting 95551488 bytes (91.125MB)

C++运行程序出现xmalloc: out of memory when requesting 95551488 bytes (91.125MB)
之前还能运行 今天打开程序运行就报错了
这是什么情况啊

具体程序


```c++
template <typename type>
type* xmalloc(size_t size)
{
    if (size == 0)
        fprintf(stderr,"xmalloc: zero size");
    void *p = malloc(size*sizeof(type));
    if (!p)
    {
        double sm = size / (0x100000 * 1.0);
        fprintf(stderr,"xmalloc: out of memory when requesting "
                "%zu bytes (%gMB)",//:\"%s\"",
                size, sm);//, strerror(errno));
    }
    return (type*)p;

``