-
1. Re: PermGen Space: OutOfMemory caused by loading the same class multiple times
ron_sigal Jul 25, 2012 1:42 AM (in response to fabian.epp)Hi Fabian,
Which version of Remoting are you using?
-Ron
-
2. Re: PermGen Space: OutOfMemory caused by loading the same class multiple times
fabian.epp Jul 25, 2012 6:27 AM (in response to ron_sigal)Hi Ron,
we use JBoss 5.1.0 with
JBoss Remoting is 2.5.4.SP3
Fabian.
-
3. Re: PermGen Space: OutOfMemory caused by loading the same class multiple times
fabian.epp Sep 19, 2012 6:16 AM (in response to fabian.epp)Hi,
we have still the same problem.
We have lots of duplicate classes in the perm gen.
Is this the desired behaviour? I can´t imagine it.
Is this a bug in my configuration or a known bug in JBoss remoting which will be fixed in future versions?
Or is it indeed the correct behaviour?
Fabian
-
4. Re: PermGen Space: OutOfMemory caused by loading the same class multiple times
lconceic Oct 3, 2012 9:16 AM (in response to ron_sigal)Hi Ron,
I'm using JBOSS 6.1 and it seems to have same problem. I'm experiencing OutOfMemoryError:PermGen space with several (> 9000) instances of org.jboss.remoting.loading.RemotingClassLoader.
Is there any Classloader issue with Remoting 3?
-
5. Re: PermGen Space: OutOfMemory caused by loading the same class multiple times
ron_sigal Oct 31, 2012 12:20 AM (in response to fabian.epp)Hi Fabian,
Which "Remote Class Loading" facility are you talking about? Remoting has such a thing, but the server side uses Classloader.getResourceAsStream() to get the bytes for the class. I don't know, but, since that method can be used to load arbitrary files, I wouldn't expect them to go into PermGen.
-Ron
-
6. Re: PermGen Space: OutOfMemory caused by loading the same class multiple times
ron_sigal Oct 31, 2012 12:36 AM (in response to lconceic)Hi Luis,
It looks like you have a different problem, since you're talking about multiple instances of RemotingClassLoader. It is possible, under some circumstances, for Remoting to create a new RemotingClassLoader for every invocation. Can you tell me which subsystem of AS 6 these RemotingClassLoaders are associated with?
re: "Is there any Classloader issue with Remoting 3?"
I'm not vey familiar with Remoting 3. However, I can tell you that it was written by David Lloyd, who know a LOT about classloading.
-Ron