an attempt to free up memory to avoid crashing tabs