Springboot don't release component

I create one app to my client, and after a few hour using that app, my java broke, heap space memory, after spend a lot of time trying to find one leak in my code, I discovery that my components (for sample a simple TabSheet) are keeping in memory even when I leave my app(and after a day waiting the component keeps in memory)

I’m wrong or the component should be cleared when I leave the view? that process to release the components should be one function from springboot or I need to realse one by one in my view?

I using @ViewScope in my views

tks