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

WicketTester MockHttpRequest.getCookies very slow / OutOfMemory

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.7.0
    • Fix Version/s: 6.8.0
    • Component/s: None
    • Labels:
      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

        Issue Links

          Activity

            People

            • Assignee:
              mgrigorov Martin Tzvetanov Grigorov
              Reporter:
              robau Rob Audenaerde

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment