0

I'm having doubts regarding which metrics I should follow to allocate memory for the permgen. I'm having crashing problems and that permgen is full, my server has 32gb of memory for the heap and 512m for permgen, would you have any metrics or recommendations to follow to configure Permgen? Another doubt would be related to the GC, the G1GC was configured because from what I had researched it was one of the best options, but I noticed that it demands more of the heap memory, would there be a better gc for a server with a lot of demand and that needs a precise collection or would it just be the same? CentOS operating system Java 7 tomcat 7

  • 3
    Maybe more a question for https://retrocomputing.stackexchange.com/ – Holger Nov 18 '22 at 14:10
  • 1
    You're not going to get much help with respect to Java 7, which was superseded over eight years ago. Permgen is long gone, and G1GC has improved substantially since it was first released. – boneill Nov 18 '22 at 15:07
  • Is the crash due to OutOfMemoryError Exception? My recommendation would be to collect gc log and then analyse the log file using a memory profiler such as Eclipse MAT or others.. – Pankaj Saini Nov 19 '22 at 07:31

0 Answers0