nvmtest
于 2022-04-03 18:02:04 发布
859
收藏 1
文章标签: spring maven
版权
现象:Windows 11 执行 mvn spring-boot:run 出现如下错误:
Unable to allocate 129792KB bitmaps for parallel garbage collection for the requested 4153344KB heap
解决:
高级系统设置 =》 点 高级,找到 性能,点 设置,会打开 性能选项 界面,点 更改,去掉 自动管理所有驱动器的分页文件大小,自定义大小 =》 初始大小,设置为 3072,即:3G,点 确定,重启的电脑
参考 Unable to allocate XXXXKB bitmaps for parallel garbage collection for the requested XXXXKB heap error is seen in tomcat log when Informatica Cloud Agent goes down abruptly multiple times