If the sorted data cannot fit entirely into the sort heap, which is a block of memory that is allocated each time a sort is performed, it overflows into a temporary table owned by the database.
如果无法将排序的数据整个放入排序堆中(排序堆是每次执行排序时分配的一块内存),它就会溢出到该数据库所有的临时表中。
To gather more data, you can produce a system dump instead of a heap dump on an OutOfMemoryError exception.
为了收集更多的数据,您可以在Out Of MemoryError异常上生成一个系统转储文件,而非堆转储文件。
Larger objects mean a bigger heap to hold the same amount of data while maintaining similar GC performance, which makes the OS and hardware memory system slower.
更大的对象意味着用更大的堆来保存相同大小的数据,同时维持类似的gc性能,这会拖慢操作系统和硬件内存系统。
应用推荐