2 Replies Latest reply on May 10, 2007 10:15 AM by Eric Ray

    CallbyValue false and OutOfMemory errors

    Ernesto Oliva Newbie

      Hi,I'm working with Jboss 2 years ago,first with Jboss 4.0.2 wich I configured to work with CallbyValue to true working in this way I didn't have problems with OutOfMemory Perm gen errors ,but reading the recomendations I let the default configuration to the default values (callbyvalue to false) as a result of it if I deploy the ear file of my application five times the server throw an perm gen java.lang.OutOfMemory error
      I tested with 4.0.2 and 4.0.5GA having the same problems.
      Now I back to callbyValue to true and I don't have problems of Perm gen OutOfMemory.
      the application use Struts,Spring for service tier and Hibernate.
      Could somebody explainme what is the cause or I don't understand this: