# There is insufficient memory for the Java Runtime Environment to continue.

# Native memory allocation (malloc) failed to allocate 358976 bytes for Chunk::new

# An error report file with more information is saved as:


原因是编译内存不足,在IDEA中,可以设置编译内存即可,如下图:


File | Settings | Build, Execution, Deployment | Compiler

将 Shared build process heap size 设置为 1024 即可,

(这个是 共享构建进程堆内存大小






点赞(0) 打赏

微信小程序

微信扫一扫体验

立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部