GPUOpen-LibrariesAndSDKs / RenderPipelineShaders

Render Pipeline Shaders SDK
MIT License
312 stars 24 forks source link

Runtime backend: unused heaps are never freed, "leaking" memory #37

Open kikaxa opened 6 months ago

kikaxa commented 6 months ago

This growth is bounded but is bad in some (not really rare) cases. Estimates are up to 200GB for 4k screens.

Reproducible test case: user resizing viewport with mouse, each frame being 1 pixel bigger. going from half res->full res would have around 2000 heaps created, with up to 100mb per frame extra mem. only one of these is used at any given time

ChemistAion commented 6 months ago

Follow this specific subject on RPS-disco in bug-report section: https://discord.com/channels/1090914939255926826/1210243206462050335/1210243206462050335

ChemistAion commented 5 months ago

@kikaxa ...some more "ideas" - check disco