【发布时间】:2016-12-06 03:07:14
【问题描述】:
【问题讨论】:
标签: java memory-leaks threadpool thread-sleep permgen
【问题讨论】:
标签: java memory-leaks threadpool thread-sleep permgen
仅根据您的线程屏幕截图,无法识别 PermGen 内存泄漏。请关注these instructions on my blog 查找任何泄漏。为防止 ClassLoader 泄漏引起的问题,请将 my ClassLoader Leak Prevention library 添加到您的应用程序中。
【讨论】:
WARNING: Unable to construct RuntimeException without stack trace. The likely reason is that you are using Java <= 1.6. No worries, except there is one kind of leak you're not protected from (https://github.com/mjiderhamn/classloader-leak-prevention/issues/36). If you are already on Java 1.7+, please report issue to developer of this library!这是正常还是有什么问题?
java.lang.NoSuchMethodException: java.lang.RuntimeException.<init>(java.lang.String, java.lang.Throwable, boolean, boolean) at java.lang.Class.getConstructor0(Class.java:2715) at java.lang.Class.getDeclaredConstructor(Class.java:1987) at se.jiderhamn.classloader.leak.prevention.ReplaceDOMNormalizerSerializerAbortException.constructRuntimeExceptionWithoutStackTrace(ReplaceDOMNormalizerSerializerAbortException.java:56)