English 中文(简体)
Struts2 Perm Gen 记忆错误
原标题:Struts2 PermGen Out of Memory error

我注意到这一大的应用情况,即前线终端服务器正在迅速 Per升PermGen,最糟糕的是,它每次都不断增加,有时它只是继续增加,尽管我们根本没有向申请服务器提出任何要求。 我面对这一点的是第6.0.33号公报,即第6.29号公报。

To isolate the problem I picked up struts blank and to my dismay it was showing the same trend. Is this normal? I tried checking out a few version of struts2 like 2.2.1, 2.2.1.1, 2.2.3.1 using maven (mvn archetype:generate) and after running them in jetty, I noticed that the PermGen space is filled up in every request by 2-3KB. I am testing on struts blank and jetty-6.1.21.

由于Permgen公司作为申请数量的职能在增加,我怀疑生产与生产相比有多少价值?

问题回答

了解真相的唯一途径是附上介绍员,研究哪些班级正在记忆中,并设法发现记忆泄露。 你可以把你 j灭,把 he子放在坠机上,把由此产生的卷宗装到一个画面上,看一看他坠毁后的状况。

在许多生产网络中都使用了强食。 我认为,这比你更可能成为一个问题。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签