VM 的Permanent generation space,实际上就是方法区,存储了下面两种类型的数据:
1.Class的节本信息
Package Name
Super class package name
Class or interface
Type modifiers
Super inferface package name
2.其它信息
The constant pool for the type
Field information
Method information
All class (static) variables declared
in the type, except constants
A reference to class ClassLoader
A reference to class Class
本来SUN设计的时候认为这个区域在JVM启动的时候就固定了,但他没有想到现在动态会用得这么广泛。而且这个区域有特殊的垃圾收回机制,现在的问题是动态加载类到这个区域后,gc根本没办法回收!
现在开发中最常见的错误莫过于Permgen Space!
解决办法:
1,把不必要的 jar 文件清理出 lib;
2,不要频繁地进行 reload;
3,增加 PermGen Space 内存区域,默认是 64MB,可以采用 -XX:MaxPermSize 这个 JVM 参数改这块区域改大一些,这个参数详见:
http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp
如果用的是 Tomcat 的话,可以在 catalina.bat 开始处增加一行 set JAVA_OPTS=-XX:MaxPermSize=128m
分享到:
相关推荐
for hrush less permanent-niaghei motors ever It is dcnigncd to sent the modern computer based generation of mo;or engineers, '['he book. uoe» hand-in-hand with modern software-based tedwiquer- for ...
Control of Permanent Magnet Synchronous Motors Sadegh Vaez-Zadeh (作者) pages:357
Books on permanent magnet (PM) ac machine drives have focused primarily on the design of the machines and have covered the control and converters for these drives only in an elementary manner. In ...
永磁同步电机PMSM空间矢量控制SVPWM 仿真模型
Edward Snowden - Permanent Record-Metropolitan Bo(1).pdf
but if you're developing applications where performance is critical, such as game computing or large-scale enterprise applications, you'll want to give this book a permanent spot on your bookshelf....
Permanent magnet synchronous generator modeling
A new rotor structure for line start permanent magnet synchronous moto
Induction versus permanent magnet motors
是垃圾收集的主要区域("GC 堆"),现代的垃圾收集器基本都是采用分代收集算法,该算法的思想是针对不同的对象采取不同的垃圾回收算法,因此虚拟机把 Java 堆分成以下三块: - 新生代(Young Generation) - 老年代...
1.0前言摘要2.0 Permanent Ecological 简明概述3.0 Permanent Ecological 核心技术概述3.1 Tendermin
IIS%2bWordPress利用UrlRewrite实现永久链接-Permanent-Links-的完美方案
Analysis of Torque in Permanent Magnet.pdf
rpm -qa|grep java rpm -qa|grep jdk 如果查询到已经安装过jdk就卸载 java rpm -e --nodeps 要卸载的文件名称 4\解压缩jdk安装 tar -xvf jdk-8u131-linux-x64.tar.gz -C /usr/local/ 5\进入到解压缩文件目录...
永磁同步电机的鲁棒控制器设计,邓镇华,年晓红,永磁同步电动机被广泛的应用到各个领域。相比于传统的感应电机它有着诸多的有点,例如,功率因数更高。随着制造工艺的提升,在未来,��
1.0前言摘要2.0 Permanent Ecological 简明概述3.0 Permanent Ecological 应用生态概述3.1 云算力轻客户端3.
An advanced introduction to the simulation and hardware implementation of BLDC motor drives A thorough reference on the simulation and hardware implementation of BLDC motor drives, this book covers ...
为何从Java8开始,Permanent区域被取消变成了Metaspace区域 该文介绍了HotSpotVM的Permanent(永久代)变化为Metaspace(元数据)的原因和影响,文章是日文的,近期可能会翻译成中文 2. 先有Class还是先有Object 源自...
control of synchronous permanent magnet motor