Reproduction steps:
1. Open the attached “IN-80649” project
2. In Build Settings, make sure that “Development Build” is selected
3. Build and Run the Android Player
4. Open a profiler (I used Android Studio’s profiler ("C:\Program Files\Android\Android Studio\bin\profiler.exe"))
5. Profile the memory of the Player
6. In the Player, press “Play” and “Stop” to play and stop the video multiple times
7. Observe the allocated memory
Expected result: Memory allocation increases after playing the video, but returns after stopping
Actual result: Memory allocation increases more and more with every play of the video
Reproducible with: 2022.1.0a10, 2022.3.55f1, 6000.0.32f1, 6000.1.0a9
Not reproducible with: 2021.3.46f1, 2022.1.0a9
Reproducible environments: Windows 11 (24H2)
Not reproducible environments: No other environments tested
Reproducible with these devices:
VLNQA00480 - samsung Galaxy S21 5G (SM-G991B), CPU: Exynos 2100, GPU: Mali-G78, OS: 11
Not reproducible with these devices:
VLNQA00516 - samsung Galaxy Fold (SM-F900F), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 10
VLNQA00591 - samsung Galaxy S23 (SM-S911B), CPU: Snapdragon 8 Gen 2 (SM8550), GPU: Adreno 740, OS: 14
VLNQA00403 - Galaxy Z Flip3 5G (SM-F711B), CPU: Snapdragon 888, GPU: Adreno 660, OS: 11