Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1058

Perm heap bloat

    XMLWordPrintable

Details

    Description

      Synopsis:
      The proxy classes generated at application start time are kept after stopping application. It will result in perm heap bloat if application's start/stop are repeated.

      Version:
      WELD 1.1.2

      Details:
      The current RI uses javassist to generate the corresponding proxy class of Principal, UserTransaction, ValidatorFactory and Validator at application start time. Javassist load those proxy classes via system's class loader and that class loader is not discarded after stopping application, therefore those proxy classes remain there. At application development phase, repeating application's start/stop will lead to memory leak with this behavior.

      Attachments

        Activity

          People

            Unassigned Unassigned
            xiaojun_jira z xj (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: