Since Flash seems to eat up all the memory, this will proactively close the tab and open a new one - giving it a clean slate.
La data de
You'll need to change the number of ads to trigger the reset. It will depend on how much memory you have available, so setting it lower is probably safer than sorry. Setting it too low might raise red flags, though.