Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
424 views
in Technique[技术] by (71.8m points)

JAVA PermGem memory

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...