Forum Discussion

phani_mudiganti's avatar
phani_mudiganti
Occasional Contributor
14 years ago

Load testing " Out of Memory exception"

Hi Allen,


I am grateful to you for the information you provided.


I am using Test complete 5 for Load Testing.Here I am getting one problem, I need run the Load Test for log time ( One day ).But after executing the Load Test after 5 Hours giving error " An exception occurred in the "unit 1" unit at line 80: out of memory  " and " V B script runtime error. Out of memory unit : "unit 2" line:80 column :7. Please help me in this. I am attached the error screen shots.


Thanks and Regards

-Phani

  • AlexeyKryuchkov's avatar
    AlexeyKryuchkov
    SmartBear Alumni (Retired)
    Hi Phani,



    Try following standard recommendations to decrease the risk of encountering memory problems during HTTP load testing:


    1. If your Load Testing task is big, split it into several smaller tasks. For example, record logging in, doing some work and logging out as three separate tasks.

    2. Put every TestInstance run in an individual test item of your project. When the execution of a test item is completed, its test log is saved to the disk and unloaded from memory. For details, please see the "Specifying Execution Order for Tests" TestComplete 5 help topic.

    3. Block some unnecessary messages from being posted to the test log. For example, you can block the messages that are posted for every successful request. To block such messages, you need to handle the OnLogMessage event. To learn how to do this using the event, refer to the "OnLogMessage Event" TestComplete 5 help topic and to the related ones.


    BTW, SmartBear Software released a new tool created for HTTP load testing, LoadComplete. You can try it out for free.
  • phani_mudiganti's avatar
    phani_mudiganti
    Occasional Contributor

    Hi Allen,


    Thanks for your support.


    I am using Test complete 5 for Load Testing with 50 virtual users licence. I need to Upgrade it to 100 Virtual Users.

    So please help me in this regard and let me know the Process.Please find the attached screen shot for TC5 version and all.