JAVA PermGem memory

送分小仙女□ 提交于 2019-12-13 09:33:50

问题


Please help me to find it out how to increase the JAVA heap space, I am running GATE based application where I need to run large collection of datasets, and it's really eating the memory. My computer configuration is RAM 32GB window 7. Whenever I run the dataset it when it reaches the memory size(1.5g) stops and says no memory (PermGem space available) and it kills the program. Is it true that maximum memory we can allocate to JAVA as -Xmx as 1.5g by default, we tried to increase the memory but no success still it crashes the program at 1.5g. How we could increase the memory size upto 8GB or more? Because I read that we could allocate 1/3 of physical memory to JAVA to run the program is it true? Please help me? Thanks


回答1:


The PermGen space is specific to Oracle JVM. You can increase it with the a VM arg like -XX:MaxPermSize=128M.



来源:https://stackoverflow.com/questions/21554848/java-permgem-memory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!