Sharon_ Posted June 1, 2011 Report Share Posted June 1, 2011 Hi friends, I am doing webpage testing using LabVIEW. But the problem is my CPU memory increases as I load webpages. It also affects my application's response time to stop or close it. So I want to clear memory every time I finish one testcase. But I dont know how to do it. Please help..!!! -Sharon Quote Link to comment
crelf Posted June 1, 2011 Report Share Posted June 1, 2011 This issue could be one or a combination of a bunch of things: can you upload your code for us to take a look at? Quote Link to comment
Sharon_ Posted June 2, 2011 Author Report Share Posted June 2, 2011 This issue could be one or a combination of a bunch of things: can you upload your code for us to take a look at? Hi crelf, I have uploaded a screenshot of one case, where I read webpage element and compare the value with the expected. The other cases look similar to this case. I am using producer consumer architecture in the application -coz I don't want to miss any inputs by the user.Also I have a lot of statemachine for different tests. If I dont execute the webpage testing statemachine the 'quit' is executed within 1 or 2 secs otherwise it waits for more than 6 sec . . Could this be a problem with queuing and dequeuing? But after the webpage test execution , when I press quit button, I see that 'Quit' appears on the queue instantly. Sharon Quote Link to comment
crelf Posted June 2, 2011 Report Share Posted June 2, 2011 Hmmm - I'd start by closing the references you open on the fly - put a close reference downstream on both the "body" and "innerHTML" nodes and see if that makes a difference. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.