- idea报错:
# There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (malloc) failed to allocate 32744 bytes for ChunkPool::allocate # An error report file with more information is saved as:\hs_err_pid33980.log 与目标 VM 断开连接, 地址为: ''127.0.0.1:52307',传输: '套接字'' 进程已结束,退出代码为 1
IDEA运行项目比较耗内存,而且运行微服务一般需要运行网关服务+认证中心服务+业务子服务,才能正常调用。
- 对IDEA进行内存分配优化
-Xms3550m -Xmx4096m -XX:ReservedCodeCacheSize=2048m