Ionic apk, video memory leak

Hi, i’ve made an apk that plays some video but after a while the app is open the RAM fills up and it closes.
I’ve made some analysis with Android Studio and the volume of data in the ram grows slowly.
From logs i can see that the system kill the app but there’s no errors.
Doing some tests i noticed that the problem is about the video.
The objects I used are emptied and they should free up memory, but it doesn’t.
I’ve tried a reboot but the memory occupy is still the same.
Has anyone had the same problem? Or does you know how to fix it?

This is the link:
Thank you