Uploaded image for project: 'WildFly Arquillian'
  1. WildFly Arquillian
  2. WFARQ-178

Please do not read the whole deployment to memory

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 5.1.0.Beta4
    • None
    • None
    • False
    • None
    • False

      When starting Arquillian tests, the WildFly Arquillian part reads the whole EAR into a byte-array before sending it to the server for deployment. And even after the deployment was done, this memory seems to stay blocked.

      We do not use a minimal deployment with just the test-relevant classes, but the full EAR just with the tests added in, to have a more production-like environment for the tests.

      This means the whole big EAR is read into a byte-array and then regularly busts the max-heap.

       

      It would be nice if this could be done instead in some streamed way instead of reading the full deployment to the heap of the test worker process.

            jperkins-rhn James Perkins
            Vampire0 Björn Kautler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: