How to free memory in colab?

I tring to iterate through diffrent hyperparameters to build an optimal model. But after 6 iteration(training of 6 model) is compeleted I’m running out of memory when the 7nd iteration starts.
I call tf.keras.backend.clear_session() before start every iteration, but it don’t work
How can I free memory?

Using tf.tidy(myFn) I presume. That will also improve single runs on 1 hyperparameter. You can also share a “MWE-colab” i.e a simple colab that reproduces the issue.