-
Notifications
You must be signed in to change notification settings - Fork 74
Description
dolphin version:
commit a09f78f
platform:
Rockchip RK3576 RK3566
Reproduce:
$ /opt/game/bin/retroarch -L /opt/game/bin/retroarch_cores/dolphin_libretro.so -c /userdata/retroarch/collection/gc/retroarch.cfg /userdata/ROMs/gc/The Legend of Zelda The Wind Waker.iso
while true; do
date >> /tmp/memlog.txt
ps -p $(pidof retroarch) -o rss,vsz | tee /tmp/memlog.txt
sleep 2
done
RSS VSZ
1304492 3055388
RSS VSZ
1308672 3055388
RSS VSZ
1311212 3055388
RSS VSZ
1304492 3055388
RSS VSZ
1313768 3055388
RSS VSZ
1313768 3055388
RSS VSZ
1304492 3055388
RSS VSZ
1320780 3055388
RSS VSZ
1308136 3055388
RSS VSZ
1310676 3055388
RSS VSZ
1324148 3055388
RSS VSZ
1310676 3055388
RSS VSZ
1324148 3055388
RSS VSZ
1304492 3055388
RSS VSZ
1311388 3055388
RSS VSZ
1317572 3055388
RSS VSZ
1321492 3055388
RSS VSZ
1744728 4356524
RSS VSZ
1828520 4356524
RSS VSZ
1821128 4356524
RSS VSZ
1654028 3700776
RSS VSZ
1687548 3706444
RSS VSZ
1703592 3706840
RSS VSZ
1698012 3706844
RSS VSZ
1706212 3706844
RSS VSZ
1717008 3706972
RSS VSZ
1703572 3707108
RSS VSZ
1716376 3707108
RSS VSZ
1714876 3707108
RSS VSZ
1705460 3707108
RSS VSZ
1711944 3707108
RSS VSZ
1706372 3707108
RSS VSZ
1706796 3707236
RSS VSZ
1710640 3707236
RSS VSZ
1713976 3707236
RSS VSZ
1708792 3707364
RSS VSZ
1709032 3707364
RSS VSZ
1709452 3707368
RSS VSZ
1712868 3707368
RSS VSZ
1710088 3707368
RSS VSZ
1713768 3707496
RSS VSZ
1730832 3707496
RSS VSZ
1711000 3707500
After about 30 minitue, RetroArch will be killed by oom killer:
[51958.060867] Tasks state (memory values in pages):
[51958.060872] [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name
[51958.060909] [ 225] 0 225 2758 195 49152 1783 0 mount.exfat
[51958.060919] [ 244] 0 244 780 0 36864 31 0 syslogd
[51958.060929] [ 262] 0 262 780 0 32768 44 0 klogd
[51958.060939] [ 322] 0 322 4883 45 45056 318 -1000 udevd
[51958.060949] [ 404] 0 404 94794 2700 245760 3712 0 weston
[51958.060959] [ 421] 0 421 32308 0 147456 1388 0 weston-keyboard
[51958.060969] [ 422] 0 422 32594 0 159744 1344 0 weston-desktop-
[51958.060979] [ 474] 0 474 71216 170 176128 1035 0 backend
[51958.060989] [ 602] 0 602 1057 0 36864 163 0 usbdevice
[51958.060999] [ 604] 0 604 76580 18 86016 162 0 adbd
[51958.061009] [ 934] 0 934 226176 456 655360 32167 0 pegasus-fe
[51958.061019] [ 935] 0 935 1191 0 40960 317 0 sh
[51958.061032] [ 1915] 0 1915 1178728 463018 5869568 204491 0 Video thread
[51958.061044] [ 1952] 0 1952 1253 242 36864 124 0 bash
[51958.061058] [ 2359] 0 2359 415 7 24576 0 0 cat
[51958.061067] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=Video thread,pid=1915,uid=0
[51958.061191] Out of memory: Killed process 1915 (Video thread) total-vm:4714912kB, anon-rss:1500572kB, file-rss:335496kB, shmem-rss:16004kB, UID:0 pgtables:5732kB oom_score_adj:0
Any idea?