OOM(Out of Memory),内存溢出,是一个常见的计算机科学术语,指的是应用程序或系统因为没有足够的内存空间来执行其任务而崩溃或出错的状态。当程序试图分配更多内存而系统无法满足时,通常会发生OOM错误。在计算机科学中,OOM错误通常指的是一个程序在尝试使用比其分配或系统可用的内存更多的内存时发生的情况。当系统无法为程序提供更多的内存时,程序通常会崩溃或抛出异常。 OOM错误可能由多种原
1.出现根本原因.man malloc By default, Linux follows an optimistic memory allocation strategy. This means that when malloc() returns non-NULL there is no guarantee that the memory really is availab