javascript - iMacro + JS slows down and consumes too much memory -


i coded macro traverses through search results in web page, opens each link in new tab, reads text in new tab , searches specific word. closes tab , goes on next link on initial tab.

the problem after maybe 100 opened , closed tabs, gets slow, , firefox swallows memory (~2gb). seems opened-then-closed tabs not removed memory. not sure if case. ideas?

for(var loop = 1; loop <= 200; loop++){         iim = "code:\n";         iim+="tab t=1\n";         iim+="tag pos=" + loop + " type=a attr=txt:abstract extract=href\n";         iim+="tab open\n";         iim+="tab t=2\n";         iimplay(iim);         link = iimgetextract(); // link open in new tab          var successful = -1;         while(successful < 1){ // reload link in new tab, until successful.             iim = "code:\n";             iim+="url goto="+link+"\n";             successful =  iimplay(iim);         }         {         ...searchinnewpage();         }         iim = "code:\n";         iim+="tab close\n";         iimplay(iim); } 

whether using version 9.0.3 version, if advice imacros replace previous versions of version 8.9.7, i've mecobanya own imacros v 9.0.3 heavier in running script .iiim , .js


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -