Slow memory leak when running Unigine Heaven 4.0 Extreme
zink-wip @ 028b978b
AMD Radeon R9 Fury X, radv, ACO / LLVM 11.0.
When running Heaven 4.0 in Extreme settings (and GALLIUM_THREAD=0
):
user@debian:~/Downloads/h/Unigine_Heaven-4.0/bin$ MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_HUD= VK_INSTANCE_LAYERS= LD_LIBRARY_PATH=./x64:$LD_LIBRARY_PATH GALLIUM_THREAD=0 gdb --eval-command=run --args ./heaven_x64 -project_name Heaven -data_path ../ -engine_config ../data/heaven_4.0.cfg -system_script heaven/unigine.cpp -sound_app openal -video_app opengl -video_multisample 3 -video_fullscreen 0 -video_mode 5 -extern_define ,RELEASE,LANGUAGE_EN,QUALITY_ULTRA,TESSELLATION_EXTREME -extern_plugin ,GPUMonitor
I observed a slow memory leak.
I left it running yesterday, and when I returned about 14 hours later to my desktop, oom killer killed everything.
I did just did a 1h rerun, and by looking every 60 seconds at memory, I observed about 6MiB/h in pretty smooth and linear way.
It is about 6MiB/h, or about 100KiB/min, or about 2.5KB/s.
I will provide a bit more info later, with a time graph, comparison to radeonsi
run and possibly clang -thread=sanitize
, as well rerun in Basic settings.