Memory issue in training

I’m using rasa_nlu Trainer and component builder in python, OS ubuntu. Each time I train a model, RAM usage increase. Is there any way to release that memory back to os or reuse the same memory?