Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about g1gc

Read more about g1gc

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - g1gc

G1 GC allocated memory is more than heap size

I change GC for application server. Now I use G1 GC. I have 30 GB RAM. For initial testing I set only Xms and Xmx values to be the same 23040 mb. Settings I use: -Xms23040m -Xmx23040m -XX:+UseG1GC...
test-img

grep

java

garbage-collection

jvm

g1gc

java-heap

Votes: 0

Answers: 2

Latest Answer

The allocated size listed in that table includes Metaspace. Metaspace is memory pool separate from the java object heap. Therefore the sum of heap and metaspace can exceed the maximum heap size. [Ed...
test-img

the8472

jvm G1 ,The memory is full, full gc and fail has many many times , then throw OOM , 5min or more, cost a long time ,why?

in my demo project, 69.741: [Full GC (Allocation Failure) 1023M->1023M(1024M), 1.1631632 secs] about 30+ times, then throw OOM, about 1min. the same jvm params, the same code. in my online projec...
test-img

perfect

java

garbage-collection

jvm

g1gc

Votes: 0

Answers: 1

Latest Answer

You are filling up the heap with a ginormous list. The GC tries, and tries, and tries to keep going. But eventually it hits the max heap size and you get an OOME. The reason that the app gets slower...
test-img

Stephen C

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved