JVM 参数调优 -【Metaspace Size】
本套视频是由HeapDump社区推出的 JVM 参数系列课程~
本期参数介绍
从JDK8开始,JVM将原来存放klass元数据的Perm换成了Metaspace,Perm时期会为klass元数据分配一块内存,如果设置不够用就会抛出OOM,Metaspace的出现希望能解决这个问题,Metaspace确实可以最大限度来使用堆外的内存,但是挺遗憾,还是有一些参数会导致Metaspace抛出OOM
那今天我们就来聊下和Metaspace大小相关的参数,说起Metaspace的大小参数,有很多人肯定会想到MetaspaceSize和MaxMetaspaceSize,但是其实不然,这两个参数是控制Metaspace触发GC的,真正和Metaspace的内存大小有关的参数主要是下面的几个
CompressedClassSpaceSize:CompressedClassSpaceSize
InitialBootClassLoaderMetaspaceSize:InitialBootClassLoaderMetaspaceSize
- HeapDump 社区:https://heapdump.cn
- 视频出处:https://www.bilibili.com/video/av925621118
微信扫描下方的二维码阅读本文
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(5)
This design is spectacular! You definitely know how to keep a reader amused. Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Fantastic job. I really loved what you had to say, and more than that, how you presented it. Too cool!
Sweet site, super design, real clean and utilize pleasant.
The next time I read a blog, I hope that it doesnt disappoint me as much as this one. I mean, I know it was my choice to read, but I actually thought youd have something interesting to say. All I hear is a bunch of whining about something that you could fix if you werent too busy looking for attention.
With havin so much content and articles do you ever run into any issues of plagorism or copyright violation? My site has a lot of unique content I’ve either authored myself or outsourced but it seems a lot of it is popping it up all over the web without my authorization. Do you know any techniques to help protect against content from being stolen? I’d definitely appreciate it.
Some truly interesting information, well written and generally user genial.