我最近收到此错误,但不确定导致此问题的原因。当我在Tomcat服务器7.0.35上运行我的代码时,收到以下消息:
mmap failed for CEN and END part of zip file
mmap failed for CEN and END part of zip file
There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (malloc) failed to allocate 32756 bytes for ChunkPool::allocate
An error report file with more information is saved as:
/opt/apache-tomcat-7.0.35/bin/hs_err_pid14852.log
更新: 我的应用程序旨在读取邮件和附件并在以所需格式解析后下载它们未读邮件的数量是113498(收件箱),应用程序终止于其中