Questions tagged [metaspace]

Metaspace is Java 8's new memory space for storing class meta-data information, and that grows automatically unlike its predecessor PermGen space.

98 questions
0
votes
0 answers

OutOfMemoryError: Metaspace without memory pool being maxed out

It seems like we ran into a OutOfMemoryError: Metaspace before actually running out of available memory for that pool. More specifically, we appeared to hit that error as soon as the committed amount for that pool reached the maximum, instead of…
Kirie
  • 93
  • 6
0
votes
0 answers

A sharp increase eden space memory and server fault

My server is Wildfly.10.1.0.final. I discovery sharp inscrease of "committed" eden space memory. Is there anyone explain some case committed eden space increase? Committed survivor memory decrease by committed eden space increase is problem too.…
DongHoon Kim
  • 386
  • 2
  • 14
0
votes
0 answers

MaxPermSize vs MaxMetaspaceSize

I am reading about the difference between PermGen and Metaspace and one of the disadvantages of the former is that there is a fixed size at startup. I do not understand why is it fixed if you have two parameters to tune…
user3763116
  • 235
  • 1
  • 2
  • 11
0
votes
0 answers

Although the Metaspace is allowed to grow infinitely my process blows out when it reaches 1 GB

I bumped into a weird issue. I have a machine with 32GB of RAM. For scale testing purposes I wrote a program that spawns multiple instances of some application in a different class loader. My aim is to host 1000 instances on the same application in…
Ikaso
  • 2,268
  • 19
  • 26
-1
votes
1 answer

Where is the inner class in the memory?

We know a Class is usually been loaded into meta space, but what about an nonstatic inner class? where it goes when it has been loaded? class OuterClass { /** * Where is this class? would this class goes to the meta space? */ class…
user3593261
  • 560
  • 4
  • 17
-1
votes
1 answer

Can class loaders or classes be dead in JVM?

Can class loaders or class be dead in JVM? I was reading a blog Oracle - Garbage collection and metaspace. The author wrote garbage collection is induced on metaspace when the max size is reached as a result dead classloaders and classes are garbage…
Akshay Naik
  • 669
  • 1
  • 6
  • 22
-1
votes
1 answer

Why do FGC when tenured generation occupy 50% and metaspace occupy 98%

JVM Version java version "1.8.0_111" Java(TM) SE Runtime Environment (build 1.8.0_111-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode) JVM Memory usage like: Heap def new generation total 33216K, used 4K [0x00000000fa000000,…
Z.per
  • 1
  • 1
-1
votes
1 answer

In Java 8, is it possible to use JVM parameter to control when(or in what condition) to unload class?

In my JMeter test I find that JMeter keep loading classes javascript_gen_cmd__xxx and it makes the test can't reach the throughput I set. When I click "Perform GC" button in JVisualVM, the classes are unloaded and the throughput is reached. So i…
user1532146
  • 184
  • 2
  • 14
1 2 3 4 5 6
7