Out of memory with 750 frames to full HD

Today i was a little bit advandced and have tried Nightly Build 649.

I have drawn some lines on some frames and tried to render it as a mp4 in Full HD.

At about 42 % i had to hit spacebar , to interrupt this process, because the computer was already slow. [30513.999735] CPU: 0 PID: 7555 Comm: AppRun Not tainted 6.1.0-9-amd64 #1 Debian 6.1.27-1 [30513.999738] Hardware name: System manufacturer System Product Name/P7P55D-E, BIOS 1601 06/26/2012 [30513.999739] Call Trace: [30513.999742] <TASK> [30513.999744] dump_stack_lvl+0x44/0x5c [30513.999750] dump_header+0x4a/0x211 [30513.999754] oom_kill_process.cold+0xb/0x10 [30513.999757] out_of_memory+0x1fd/0x4c0 [30513.999762] __alloc_pages_slowpath.constprop.0+0xc73/0xdc0 [30513.999766] __alloc_pages+0x305/0x330 [30513.999769] __folio_alloc+0x17/0x50 [30513.999771] ? policy_node+0x51/0x70 [30513.999774] vma_alloc_folio+0x9c/0x370 [30513.999777] __handle_mm_fault+0x92f/0xfa0 [30513.999782] handle_mm_fault+0xdb/0x2d0 [30513.999785] do_user_addr_fault+0x1cd/0x690 [30513.999789] exc_page_fault+0x70/0x170 [30513.999792] asm_exc_page_fault+0x22/0x30 [30513.999796] RIP: 0033:0x7fb59f2c1f40 [30513.999798] Code: ae 10 10 00 00 0f 10 b6 20 10 00 00 0f 10 be 30 10 00 00 48 83 ee c0 66 0f e7 07 66 0f e7 4f 10 66 0f e7 57 20 66 0f e7 5f 30 <66> 0f e7 a7 00 10 00 00 66 0f e7 af 10 10 00 00 66 0f e7 b7 20 10 [30513.999800] RSP: 002b:00007ffdff325ec8 EFLAGS: 00010207 [30513.999802] RAX: 00000000c0b95148 RBX: 000000000120b910 RCX: 0000000000000006 [30513.999804] RDX: 0000000000000448 RSI: 0000000003729088 RDI: 00000000c11b6000 [30513.999805] RBP: 0000000000828480 R08: ffffffffffffffc8 R09: 0000000000000000 [30513.999807] R10: 0000000000000104 R11: 0000000000c00000 R12: 0000000003108190 [30513.999808] R13: 00007ffdff325f00 R14: 0000000000828480 R15: 00007ffdff325f70 [30513.999811] </TASK> [30513.999812] Mem-Info: [30513.999814] active_anon:783 inactive_anon:924659 isolated_anon:0 active_file:338 inactive_file:320 isolated_file:6 unevictable:2695 dirty:0 writeback:0 slab_reclaimable:9108 slab_unreclaimable:15226 mapped:5928 shmem:4203 pagetables:4254 sec_pagetables:0 bounce:0 kernel_misc_reclaimable:0 free:22845 free_pcp:0 free_cma:0 [30513.999819] Node 0 active_anon:3132kB inactive_anon:3698636kB active_file:1352kB inactive_file:1280kB unevictable:10780kB isolated(anon):0kB isolated(file):24kB mapped:23712kB dirty:0kB writeback:0kB shmem:16812kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 1253376kB writeback_tmp:0kB kernel_stack:5008kB pagetables:17016kB sec_pagetables:0kB all_unreclaimable? no [30513.999824] Node 0 DMA free:14848kB boost:0kB min:264kB low:328kB high:392kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15360kB mlocked:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB [30513.999829] lowmem_reserve[]: 0 3376 3813 3813 3813 [30513.999833] Node 0 DMA32 free:61112kB boost:2048kB min:61648kB low:76548kB high:91448kB reserved_highatomic:0KB active_anon:2212kB inactive_anon:3431180kB active_file:492kB inactive_file:556kB unevictable:1704kB writepending:0kB present:3652032kB managed:3541576kB mlocked:1704kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB [30513.999839] lowmem_reserve[]: 0 0 437 437 437 [30513.999842] Node 0 Normal free:15420kB boost:17356kB min:25072kB low:27000kB high:28928kB reserved_highatomic:0KB active_anon:920kB inactive_anon:267304kB active_file:804kB inactive_file:908kB unevictable:9076kB writepending:0kB present:524288kB managed:447676kB mlocked:9076kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB [30513.999847] lowmem_reserve[]: 0 0 0 0 0 [30513.999851] Node 0 DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 1*512kB (U) 0*1024kB 1*2048kB (M) 3*4096kB (M) = 14848kB [30513.999862] Node 0 DMA32: 599*4kB (UME) 552*8kB (UME) 426*16kB (UME) 295*32kB (UME) 156*64kB (UME) 70*128kB (UME) 40*256kB (UM) 18*512kB (UM) 0*1024kB 0*2048kB 0*4096kB = 61468kB [30513.999875] Node 0 Normal: 453*4kB (UME) 509*8kB (UME) 374*16kB (UME) 126*32kB (UE) 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 15900kB [30513.999887] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB [30513.999889] 6961 total pagecache pages [30513.999889] 0 pages in swap cache [30513.999890] Free swap = 0kB [30513.999891] Total swap = 0kB [30513.999892] 1048078 pages RAM [30513.999893] 0 pages HighMem/MovableOnly [30513.999893] 46925 pages reserved [30513.999894] 0 pages hwpoisoned [30513.999895] Tasks state (memory values in pages): [30513.999895] [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name [30513.999898] [ 279] 0 279 12393 1072 102400 0 -250 systemd-journal [30513.999901] [ 305] 0 305 6834 1249 73728 0 -1000 systemd-udevd [30513.999904] [ 495] 0 495 59432 1288 98304 0 0 accounts-daemon [30513.999906] [ 498] 104 498 1766 370 61440 0 0 avahi-daemon [30513.999909] [ 500] 0 500 1739 457 53248 0 0 cron [30513.999911] [ 502] 101 502 2332 703 57344 0 -900 dbus-daemon [30513.999913] [ 508] 997 508 77414 1251 94208 0 0 polkitd [30513.999915] [ 510] 104 510 1722 77 57344 0 0 avahi-daemon [30513.999917] [ 511] 0 511 2925 640 57344 0 0 smartd [30513.999920] [ 512] 0 512 12427 757 90112 0 0 systemd-logind [30513.999922] [ 513] 0 513 98701 2198 126976 0 0 udisksd [30513.999924] [ 549] 0 549 64925 1477 139264 0 0 NetworkManager [30513.999927] [ 553] 0 553 4317 1727 81920 0 0 wpa_supplicant [30513.999929] [ 575] 0 575 60896 460 102400 0 0 ModemManager [30513.999931] [ 588] 0 588 6813 777 90112 0 0 cupsd [30513.999933] [ 592] 0 592 77120 797 94208 0 0 lightdm [30513.999936] [ 610] 0 610 1555 192 53248 0 0 agetty [30513.999938] [ 682] 110 682 22059 63 61440 0 0 rtkit-daemon [30513.999940] [ 915] 0 915 58591 783 98304 0 0 upowerd [30513.999942] [ 1027] 111 1027 61571 2504 118784 0 0 colord [30513.999945] [ 1041] 0 1041 44025 811 114688 0 0 cups-browsed [30513.999947] [ 1083] 112 1083 1631 378 49152 0 0 yubiserver [30513.999950] [ 1124] 105 1124 2673 2669 65536 0 0 ntpd [30513.999952] [ 6362] 0 6362 130061 15151 512000 0 0 Xorg [30513.999954] [ 6429] 0 6429 40469 798 81920 0 0 lightdm [30513.999956] [ 6445] 1000 6445 4791 1268 81920 0 100 systemd [30513.999959] [ 6446] 1000 6446 42158 870 86016 0 100 (sd-pam) [30513.999961] [ 6461] 1000 6461 170727 3275 225280 0 200 pulseaudio [30513.999984] [ 6462] 1000 6462 67106 3057 155648 0 0 xfce4-session [30513.999987] [ 6472] 1000 6472 2132 522 49152 0 200 dbus-daemon [30513.999989] [ 6509] 1000 6509 1915 193 49152 0 0 ssh-agent [30513.999991] [ 6519] 1000 6519 77799 1173 102400 0 200 at-spi-bus-laun [30513.999994] [ 6525] 1000 6525 2010 570 49152 0 200 dbus-daemon [30513.999996] [ 6535] 1000 6535 41095 1157 86016 0 200 at-spi2-registr [30513.999998] [ 6545] 1000 6545 20401 964 65536 0 200 gpg-agent [30514.000000] [ 6547] 1000 6547 99440 3588 229376 0 0 xfwm4 [30514.000003] [ 6550] 1000 6550 77986 1278 114688 0 200 gvfsd [30514.000005] [ 6568] 1000 6568 58034 3077 167936 0 0 xfsettingsd [30514.000007] [ 6571] 1000 6571 119580 3294 237568 0 0 xfce4-panel [30514.000010] [ 6575] 1000 6575 141029 5758 253952 0 0 Thunar [30514.000012] [ 6580] 1000 6580 137583 6966 270336 0 0 xfdesktop [30514.000014] [ 6583] 1000 6583 98408 3519 217088 0 0 panel-7-whisker [30514.000017] [ 6584] 1000 6584 85443 2349 163840 0 0 panel-6-systray [30514.000019] [ 6585] 1000 6585 100308 4110 221184 0 0 panel-9-power-m [30514.000021] [ 6588] 1000 6588 100267 2775 221184 0 0 panel-10-notifi [30514.000023] [ 6589] 1000 6589 167045 3433 237568 0 0 panel-8-pulseau [30514.000026] [ 6590] 1000 6590 49147 2592 155648 0 0 panel-23-cpugra [30514.000028] [ 6597] 1000 6597 71167 2091 172032 0 0 panel-24-netloa [30514.000030] [ 6602] 1000 6602 94781 6721 241664 0 0 blueman-applet [30514.000032] [ 6607] 1000 6607 47046 1085 131072 0 0 xfce4-power-man [30514.000035] [ 6611] 1000 6611 66827 2747 159744 0 0 light-locker [30514.000037] [ 6616] 1000 6616 46801 656 126976 0 0 polkit-gnome-au [30514.000039] [ 6622] 1000 6622 123864 3739 262144 0 0 nm-applet [30514.000041] [ 6623] 1000 6623 88034 1691 135168 0 200 gvfs-udisks2-vo [30514.000044] [ 6631] 1000 6631 39078 293 73728 0 200 dconf-service [30514.000046] [ 6632] 1000 6632 16103 5661 159744 0 0 applet.py [30514.000048] [ 6642] 1000 6642 58469 1058 90112 0 200 gvfs-mtp-volume [30514.000050] [ 6646] 1000 6646 212671 956 147456 0 0 xiccd [30514.000053] [ 6649] 1000 6649 58740 1027 90112 0 200 gvfs-gphoto2-vo [30514.000055] [ 6657] 1000 6657 58518 1162 94208 0 200 gvfs-goa-volume [30514.000057] [ 6658] 1000 6658 118203 3408 229376 0 200 xfce4-notifyd [30514.000060] [ 6668] 1000 6668 78238 1604 102400 0 200 gvfs-afc-volume [30514.000062] [ 6714] 1000 6714 78145 1708 106496 0 200 gvfsd-trash [30514.000064] [ 6770] 1000 6770 40117 1131 77824 0 200 gvfsd-metadata [30514.000066] [ 6830] 1000 6830 12122 510 90112 0 200 obexd [30514.000069] [ 6837] 1000 6837 121587 3990 245760 0 0 xfce4-terminal [30514.000071] [ 6858] 1000 6858 1915 580 61440 0 0 bash [30514.000073] [ 6984] 1000 6984 232851 1836 184320 0 200 xdg-desktop-por [30514.000076] [ 6995] 1000 6995 186930 1665 159744 0 200 xdg-document-po [30514.000078] [ 7006] 1000 7006 59295 810 94208 0 200 xdg-permission- [30514.000080] [ 7012] 1000 7012 620 235 40960 0 200 fusermount3 [30514.000082] [ 7017] 1000 7017 84159 1582 147456 0 200 xdg-desktop-por [30514.000085] [ 7401] 1000 7401 58414 747 90112 0 200 xfconfd [30514.000087] [ 7478] 1000 7478 96547 1668 118784 0 200 gvfsd-network [30514.000090] [ 7492] 1000 7492 78569 1202 106496 0 200 gvfsd-dnssd [30514.000092] [ 7555] 1000 7555 1022688 796013 7258112 0 0 AppRun [30514.000094] [ 7558] 1000 7558 3061 503 53248 0 0 pencil2d-linux- [30514.000097] [ 7587] 1000 7587 126779 13242 1142784 0 0 ffmpeg [30514.000099] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/session-16.scope,task=AppRun,pid=7555,uid=1000 [30514.000119] Out of memory: Killed process 7555 (AppRun) total-vm:4090752kB, anon-rss:3173648kB, file-rss:1000kB, shmem-rss:9404kB, UID:1000 pgtables:7088kB oom_score_adj:0 Nightly Build Aug 8 2023

commit: 7b0f1207179852b4203984940aacf9e76408e219
date: 2023-08-08_07:53:57

Operating System: PeppermintOS
CPU Architecture: x86_64
Qt Version: 5.15.2

Maybe you can try this too: xxxx.pclx (1.7 MB)

I tried it again with NB649, with the same result. It stuck and i had to turn off my computer.

Then i tried to render it with the development version and the modification you have said. It worked and it rendered the whole movie in full HD! After this sucess i tried to render it to webm in full hd and it stuck at 73%. Development Build Jul 23 2023

With the development build it was no problem to render this file to HD in mp4 and then in webm. The rendering into webm was much more cpu intensive. Many instances of ffmpeg were crunching together.

A file with 3000 frames needed about 5 minutes to render a HD output into mp4 on my i7.

5000 frames in HD with music and 24fps. No problem.

FraFra

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.