简体   繁体   English

JVM堆内存参数的Jprobe问题

[英]Jprobe Issue with JVM heap memory parameters

When I integrate Jprobe with weblogic and run it by increasing the heap memory I am getting error as "OutOfMemoryError: PermGen space failure". 当我将Jprobe与weblogic集成并通过增加堆内存来运行它时,出现的错误为“ OutOfMemoryError:PermGen space failure”。 This is related to jprobe, weblogic server and jvm mainly Please let me know how can i solve it. 这主要与jprobe,weblogic服务器和jvm有关。请让我知道我该如何解决。

  • PremGen is related to JVM hotspot. PremGen与JVM热点有关。
  • PremGen means Permanent generation. PremGen表示永久生成。 It's space where JVM load classes and jars into memory. JVM将类和jar加载到内存的空间。
  • You can increase size by JVM parameter. 您可以通过JVM参数增加大小。

From GC faqs- http://java.sun.com/docs/hotspot/gc1.4.2/faq.html 从GC常见问题解答-http: //java.sun.com/docs/hotspot/gc1.4.2/faq.html

  • How should the permanent generation be sized? 永久代应如何调整大小? The permanent generation is used to hold reflective of the VM itself such as class objects and method objects. 永久生成用于保持对VM本身的反映,例如类对象和方法对象。 These reflective objects are allocated directly into the permanent generation, and it is sized independently from the other generations. 这些反射对象直接分配到永久代中,并且其大小独立于其他代。 Generally, sizing of this generation can be ignored because the default size is adequate. 通常,由于默认大小足够,因此可以忽略这一代的大小。 However, programs that load many classes may need a larger permanent generation. 但是,加载许多类的程序可能需要更大的永久代。

  • How can I increase the permanent generation size? 如何增加永久代的大小? Use the command line option -XX:MaxPermSize= 使用命令行选项-XX:MaxPermSize =

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM