Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5800

jrmp/pooled-invoker-tests fail due to java.lang.OutOfMemoryError: PermGen Space

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-5.0.0.CR2
    • None
    • Test Suite
    • None

      the pooled-invoker server relies on default JVM heap and perm gen size. Recenly tests started failing with the following error and the server shutdown is not successful.

      ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (RMI TCP Connection(22)-127.0.0.1) Error installing to Start: name=jboss.j2ee:jndiName=ejbcts/CalleeSessionHome,service=EJB state=Create mode=Manual requiredState=Installed
      java.lang.OutOfMemoryError: PermGen space
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
      at java.lang.Class.getDeclaredMethod(Class.java:1935)
      at java.io.ObjectStreamClass.getPrivateMethod(ObjectStreamClass.java:1382)
      at java.io.ObjectStreamClass.access$1700(ObjectStreamClass.java:52)
      at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:438)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:413)
      at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1106)
      at java.io.ObjectOutputStream.access$300(ObjectOutputStream.java:143)
      at java.io.ObjectOutputStream$PutFieldImpl.writeFields(ObjectOutputStream.java:1668)
      at java.io.ObjectOutputStream.writeFields(ObjectOutputStream.java:454)
      at org.jboss.proxy.ejb.handle.HomeHandleImpl.writeObject(HomeHandleImpl.java:136)

      Increasing PermGen size to 128m to allow test suite runs to proceed, but will follow up on the root cause of why the increase is needed.

              smcgowan@redhat.com Shelly McGowan (Inactive)
              smcgowan@redhat.com Shelly McGowan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: