fbpx

Memory leak

Memory leak

Home Forums ZAPTEST Old Posts Memory leak

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30821
    Barbara Jackson
    Participant

      Hello ZAP,

      When we run our huge tests using ZAPTEST we get a memory leak error and the test fails (ZAPTEST throws “Out Of Memory” error and stops execution).
      Why this happens and what can we do to prevent it?

      Thanks

      #30822
      Sasha ZAP
      Moderator

        Hello BarbJack,

        Thank-you for your question.

        Basically the memory leak in ZAPTEST may happen when there are a lot of calls to run external tests (Using the” RunTest” method), this causes the “include” method to keep on including the same library every time a new test is being called (Each test has its own “Include” method), such an include allocates new memory and never cleared the it because the main test is still continues to run:
        In our latest ZAPTEST versions we have implemented already a fix to such issue.
        Also, keep in mind ZAPTEST is a testing tool to do functional testing (Similar as HP UFT), it is not in any means a performance testing tool:
        Knowing this it is important to focus each test on running and testing only a specific business process within the AUT (Application Under Test) and not test number of business processes which may cause issues such as memory leaks (Also it will be much easier to track functional issues in AUT when testing a single business process).

        Please contact to ZAP for more help.

        Thanks,
        Sasha

        #30823
        Barbara Jackson
        Participant

          Thank-you Sasha for your detailed answer.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.

        Virtual Expert

        ZAPTEST

        ZAPTEST Logo