Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1959

PropertyResolver causes memory leaks with proxies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.5
    • 1.3.6, 1.4-RC2
    • wicket
    • None
    • All Platforms

    Description

      When using proxies for properties, a memory leak occurs.
      The ConcurrentHashMap classesToGetAndSetters doesn't have an eviction policy and fills up with proxies who do not get
      garbage collected.

      Build a page which uses proxies as properties, every time a new session is initiated, a new proxy (a new proxy is a new class) of the same property is created and added to the map.
      if the proxy is create by a remote jvm you also get a classloader leak.

      Attachments

        Activity

          People

            jcompagner Johan Compagner
            giladgaron Gilad Garon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: