TestStack / White

DEPRECATED - no longer actively maintained
Other
1.02k stars 486 forks source link

Cotrol the RAM memory #421

Open Chandru1210 opened 8 years ago

Chandru1210 commented 8 years ago

Hi,

I'm trying to download the database from the GUI through UI Automation using white. Since the db size is huge while it's downloading taking 3+ GB of RAM speed but I have only 4 GB of RAM so I need to Close all other applications while running.... is there any other way to control the RAM through UI automation ?. or is there any other way to download the database without impacting the other applications ?... please assist me.

Thanks in advance, Chandru.

dpisanu commented 8 years ago

Let me see if we can make it more clear what you are doing and what you want to achieve.

1# You are automating an Application via White. 2# You are using White to control the Application up to the point that some sort of Download is being triggered.

And this is where you lose me. 3# The download is being done by the automated Application ? White does not offer any download mechanism. If the Application stores the Download in Memory instead of streaming to the hard drive that is not ideal. In that case you will need to write your own routines to monitor memory usage and then close other Applications if required. Windows does do a virtual memory swapping if the memory banks run out of space. So "ideally", you should not have an issue.