I'm sorry but I still having the OutOfmemory Perm gen errors with the CallbyValue to true,deploying an application more than five times,I wrote the msg too fast without make more tests.
somebody has such had problems that can help me.
I have 768 of ram and the parameters of VM are corrects.
I see the same thing after deploying my app several times. I think I read somewhere that JBoss has a memory leak with they're deployer code. Anyway, I haven't figured out a way to correct the issue either.