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

WicketTester MockHttpRequest.getCookies very slow / OutOfMemory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.7.0
    • 6.8.0
    • None
    • None

    Description

      We have an extensive set of WicketTester tests. Recently, the wicket RELEASE in the maven repository changed to 6.7.0. After the new version, our tests got very slow.

      When profiling, I discovered that the MockHttpRequest.getCookies() was taking up a lot of time. Also, tests failed because of OutOfMemory exceptions. My guess is that somehow a lot of objects are created at such speeds that the GC cannot clean them

      I will investigate further, but switching back to 6.6.0 solved the issue.

      [Edit]
      The tests are run with TestNG and using 'mvn test'

      Attachments

        1. testcookies.zip
          28 kB
          Rob Audenaerde

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              robau Rob Audenaerde
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: