Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Java
  3. Question
Java

What's the ideal Java permgen size?

Asked by Raju Sinha Oct 13, 2022 1.3K views 1 answer
Share

About this question

 I have a FTB Unleashed 1.1.7 server running and I have been getting the following error as of lately "java.lang.OutOfMemoryError: PermGen space".

According to this thread: Dealing with “java.lang.OutOfMemoryError: PermGen space” error , the recommended flags are

-XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled along with setting the MaxPermSize -XX:MaxPermSize=128M.

What is the ideal MaxPermSize? Will increasing the MaxPermSize (256mb, 512mb) degrade performance?

Your answer

1 Answer

More Java discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Java Blogs

Guides, tips and career advice on Java from JanBask experts.