Opened 7 years ago

Last modified 5 years ago

#6143 new defect

isn't memory released when using core image filter of ffmpeg?

Reported by: ponpon Owned by:
Priority: normal Component: avfilter
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

thank you for good apps.

isn't memory released when using core image filter of ffmpeg?
as the below logs, used memory increase extremely (see VSZ, RSS, and %MEM in the below logs and man ps) and a swapfile generates. after it, ffmpeg is killed by system, as the below logs.

i can't think it is normal.

unsharp of ffmpeg

x$ ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf unsharp -t 600 -f null /dev/null
ffmpeg version N-82947-g0ff8c6b Copyright (c) 2000-2016 the FFmpeg developers
  built with clang version 3.8.1 (tags/RELEASE_381/final)
  configuration: --prefix=/sw --disable-shared --enable-static --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --optflags=-Ofast --cc=clang-mp-3.8 --cxx=clang++-mp-3.8 --extra-cflags=' -march=native -I/sw/include -I/opt/local/include ' --extra-ldflags=' -L/sw/lib -L/opt/local/lib -fopenmp' --extra-ldlibflags='-L/sw/lib -L/opt/local/lib -static' --target-os=darwin --arch=x86_64 --cpu=corei7-avx --enable-avresample --enable-libfdk-aac --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libfreetype --enable-openssl --enable-gnutls --enable-gcrypt --enable-gmp --enable-librtmp --enable-libass --enable-fontconfig --enable-libfribidi --enable-libbluray --enable-libdc1394 --enable-libschroedinger --enable-libmodplug --enable-lzma --enable-libx264 --enable-libx265 --enable-libzimg --enable-libvidstab --enable-libsoxr --enable-opengl --enable-opencl --pkg-config-flags=' --libs --static'
  libavutil      55. 43.100 / 55. 43.100
  libavcodec     57. 70.100 / 57. 70.100
  libavformat    57. 61.100 / 57. 61.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 68.100 /  6. 68.100
  libavresample   3.  2.  0 /  3.  2.  0
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
Input #0, lavfi, from 'nullsrc=s=1920x1080':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
Output #0, null, to '/dev/null':
  Metadata:
    encoder         : Lavf57.61.100
    Stream #0:0: Video: wrapped_avframe, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.70.100 wrapped_avframe
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
frame=   59 fps= 38 q=-0.0 size=N/A time=00:00:02.36 bitrate=N/A speed=1.53x    

control+z

[1]+  Stopped                 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf unsharp -t 600 -f null /dev/null
x$ bg ; sleep 5 ; ps -v  ; ls /private/var/vm ; sleep 60 ; ps -v ; ls /private/var/vm ;  sleep 60 ; ps -v ; ls /private/var/vm  ;  sleep 60 ; ps -v ; ls /private/var/vm ;  sleep 60 ; ps -v ; ls /private/var/vm ; sleep 60 ; ps -v ; ls /private/var/vm 
[1]+ ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf unsharp -t 600 -f null /dev/null &
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
 9222 R      0:06.87   0   0      0  2539804  30352     -        0 100.0  0.4 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf unsharp -t 600 -f null /dev/null
 9201 S      0:00.02   0   0      0  2446708   3260     -        0   0.0  0.0 -bash
sleepimage	swapfile0
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
 9222 R      1:06.88   0   0      0  2539804  30352     -        0 100.0  0.4 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf unsharp -t 600 -f null /dev/null
 9201 S      0:00.02   0   0      0  2446708   3260     -        0   0.0  0.0 -bash
sleepimage	swapfile0
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
 9222 R      2:06.88   0   0      0  2539804  30352     -        0 100.0  0.4 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf unsharp -t 600 -f null /dev/null
 9201 S      0:00.02   0   0      0  2447732   3272     -        0   0.0  0.0 -bash
sleepimage	swapfile0
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
 9222 R      3:06.89   0   0      0  2541852  30376     -        0 100.0  0.4 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf unsharp -t 600 -f null /dev/null
 9201 S      0:00.03   0   0      0  2447732   3272     -        0   0.0  0.0 -bash
sleepimage	swapfile0
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
 9222 R      4:06.90   0   0      0  2542876  30388     -        0 100.0  0.4 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf unsharp -t 600 -f null /dev/null
 9201 S      0:00.03   0   0      0  2447732   3272     -        0   0.0  0.0 -bash
sleepimage	swapfile0
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
 9222 R      5:06.91   0   0      0  2543900  30404     -        0 100.0  0.4 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf unsharp -t 600 -f null /dev/null
 9201 S      0:00.03   0   0      0  2447732   3272     -        0   0.0  0.0 -bash
sleepimage	swapfile0
frame=14993 fps= 42 q=-0.0 size=N/A time=00:09:59.72 bitrate=N/A speed=1.68x    te=N/A speed=1.68x    

unsharp of core image of ffmpeg, using igpu

x$ ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
x$ ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
ffmpeg version N-82947-g0ff8c6b Copyright (c) 2000-2016 the FFmpeg developers
  built with clang version 3.8.1 (tags/RELEASE_381/final)
  configuration: --prefix=/sw --disable-shared --enable-static --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --optflags=-Ofast --cc=clang-mp-3.8 --cxx=clang++-mp-3.8 --extra-cflags=' -march=native -I/sw/include -I/opt/local/include ' --extra-ldflags=' -L/sw/lib -L/opt/local/lib -fopenmp' --extra-ldlibflags='-L/sw/lib -L/opt/local/lib -static' --target-os=darwin --arch=x86_64 --cpu=corei7-avx --enable-avresample --enable-libfdk-aac --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libfreetype --enable-openssl --enable-gnutls --enable-gcrypt --enable-gmp --enable-librtmp --enable-libass --enable-fontconfig --enable-libfribidi --enable-libbluray --enable-libdc1394 --enable-libschroedinger --enable-libmodplug --enable-lzma --enable-libx264 --enable-libx265 --enable-libzimg --enable-libvidstab --enable-libsoxr --enable-opengl --enable-opencl --pkg-config-flags=' --libs --static'
  libavutil      55. 43.100 / 55. 43.100
  libavcodec     57. 70.100 / 57. 70.100
  libavformat    57. 61.100 / 57. 61.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 68.100 /  6. 68.100
  libavresample   3.  2.  0 /  3.  2.  0
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
Input #0, lavfi, from 'nullsrc=s=1920x1080':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
[swscaler @ 0x7f8c09877400] No accelerated colorspace conversion found from yuv420p to argb.
Output #0, null, to '/dev/null':
  Metadata:
    encoder         : Lavf57.61.100
    Stream #0:0: Video: wrapped_avframe, argb, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.70.100 wrapped_avframe
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
frame=   22 fps= 13 q=-0.0 size=N/A time=00:00:00.88 bitrate=N/A speed=0.531x    

control+z

[1]+  Stopped                 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
x$ bg ; sleep 5 ; ps -v  ; ls /private/var/vm ; sleep 60 ; ps -v ; ls /private/var/vm ;  sleep 60 ; ps -v ; ls /private/var/vm  ;  sleep 60 ; ps -v ; ls /private/var/vm ;  sleep 60 ; ps -v ; ls /private/var/vm ; sleep 60 ; ps -v ; ls /private/var/vm ; sleep 60 ; ps -v ; ls /private/var/vm ; sleep 60 ; ps -v ; ls /private/var/vm ; sleep 60 ; ps -v ; ls /private/var/vm ; sleep 60 ; ps -v ; ls /private/var/vm ; sleep 60 ; ps -v ; ls /private/var/vm
[1]+ ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null &
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
  709 U      0:06.63   0   0      0  3486236 836764     -        0  97.6 10.0 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
  699 S      0:00.03   0   0      0  2463092   1780     -        0   0.0  0.0 -bash
sleepimage
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
  709 R      1:03.14   0   0      0 10895272 4851852     -        0  93.5 57.8 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
  699 S      0:00.03   0   0      0  2463092   1292     -        0   0.0  0.0 -bash
sleepimage
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
  709 U      1:59.16   0   0      0 17004976 4944148     -        0  94.3 58.9 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
  699 S      0:00.03   0   0      0  2463092   1032     -        0   0.0  0.0 -bash
sleepimage	swapfile0
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
  709 R      2:55.45   0   0      0 23076228 5021120     -        0  96.2 59.9 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
  699 S      0:00.04   0   0      0  2463092   1036     -        0   0.0  0.0 -bash
sleepimage	swapfile0
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
  709 R      3:51.47   0   0      0 29081784 4901932     -        0  92.1 58.4 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
  699 S      0:00.04   0   0      0  2463092   1032     -        0   0.0  0.0 -bash
sleepimage	swapfile0
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
  709 R      4:47.42   0   0      0 34990652 5060372     -        0  93.6 60.3 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
  699 S      0:00.04   0   0      0  2463092   1032     -        0   0.4  0.0 -bash
sleepimage	swapfile0
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
  709 R      5:43.15   0   0      0 40891932 4990316     -        0  93.4 59.5 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
  699 S      0:00.04   0   0      0  2463092   1028     -        0   0.0  0.0 -bash
sleepimage	swapfile0
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
  709 R      6:39.35   0   0      0 46875236 5054948     -        0  97.7 60.3 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
  699 S      0:00.05   0   0      0  2463092   1024     -        0   0.0  0.0 -bash
sleepimage	swapfile0
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
  709 R      7:35.82   0   0      0 52871288 5166212     -        0  95.2 61.6 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
  699 S      0:00.05   0   0      0  2463092   1028     -        0   0.0  0.0 -bash
sleepimage	swapfile0
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
  709 R      8:32.19   0   0      0 58875436 5077872     -        0  98.2 60.5 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
  699 S      0:00.05   0   0      0  2463092   1028     -        0   0.0  0.0 -bash
sleepimage	swapfile0
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
  709 R      9:28.28   0   0      0 64830984 4994304     -        0  93.8 59.5 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
  699 S      0:00.05   0   0      0  2464116   1032     -        0   0.0  0.0 -bash
sleepimage	swapfile0
frame= 8395 fps= 12 q=-0.0 size=N/A time=00:05:35.80 bitrate=N/A speed=0.491x    e=N/A speed=0.491x    
[1]+  Killed: 9               ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null

console log when using igpu

+0900	kernel	low swap: killing pid 709 (ffmpeg)
+0900	kernel	memorystatus_thread: idle exiting pid 248 [systemstats]
+0900	kernel	[ffmpeg pid 709 non-mux-aware] exiting, non-mux-aware app count 0, runtime: 0:11:02.953
+0900	kernel	 PEG (usr PEG extdisp 0 capture 0 non-mux-aware app 0 ac 0)

unsharp of core image of ffmpeg, using dgpu

x$ ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
ffmpeg version N-82947-g0ff8c6b Copyright (c) 2000-2016 the FFmpeg developers
  built with clang version 3.8.1 (tags/RELEASE_381/final)
  configuration: --prefix=/sw --disable-shared --enable-static --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --optflags=-Ofast --cc=clang-mp-3.8 --cxx=clang++-mp-3.8 --extra-cflags=' -march=native -I/sw/include -I/opt/local/include ' --extra-ldflags=' -L/sw/lib -L/opt/local/lib -fopenmp' --extra-ldlibflags='-L/sw/lib -L/opt/local/lib -static' --target-os=darwin --arch=x86_64 --cpu=corei7-avx --enable-avresample --enable-libfdk-aac --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libfreetype --enable-openssl --enable-gnutls --enable-gcrypt --enable-gmp --enable-librtmp --enable-libass --enable-fontconfig --enable-libfribidi --enable-libbluray --enable-libdc1394 --enable-libschroedinger --enable-libmodplug --enable-lzma --enable-libx264 --enable-libx265 --enable-libzimg --enable-libvidstab --enable-libsoxr --enable-opengl --enable-opencl --pkg-config-flags=' --libs --static'
  libavutil      55. 43.100 / 55. 43.100
  libavcodec     57. 70.100 / 57. 70.100
  libavformat    57. 61.100 / 57. 61.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 68.100 /  6. 68.100
  libavresample   3.  2.  0 /  3.  2.  0
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
Input #0, lavfi, from 'nullsrc=s=1920x1080':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
[swscaler @ 0x7fe880821800] No accelerated colorspace conversion found from yuv420p to argb.
Output #0, null, to '/dev/null':
  Metadata:
    encoder         : Lavf57.61.100
    Stream #0:0: Video: wrapped_avframe, argb, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.70.100 wrapped_avframe
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
frame=   17 fps=0.0 q=-0.0 size=N/A time=00:00:00.68 bitrate=N/A speed=1.29x    

control+z

[1]+  Stopped                 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
x$ bg ; sleep 5 ; ps -v  ; ls /private/var/vm ; sleep 60 ; ps -v ; ls /private/var/vm ;  sleep 60 ; ps -v ; ls /private/var/vm  ;  sleep 60 ; ps -v ; ls /private/var/vm ;  sleep 60 ; ps -v ; ls /private/var/vm ; sleep 60 ; ps -v ; ls /private/var/vm  ; sleep 60 ; ps -v ; ls /private/var/vm 
[1]+ ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null &
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
  674 R      0:05.70   0   0      0  4443148 1815176     -        0  94.0 21.6 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
  637 S      0:00.02   0   0      0  2461044   3284     -        0   0.0  0.0 -bash
sleepimage
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
  674 R      1:02.18   0   0      0 19456932 5566796     -        0  96.0 66.4 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
  637 S      0:00.03   0   0      0  2462068   2584     -        0   0.0  0.0 -bash
sleepimage
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
  674 R      1:58.94   0   0      0 33041748 5463808     -        0  96.1 65.1 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
  637 S      0:00.03   0   0      0  2462068   2592     -        0   0.0  0.0 -bash
sleepimage
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
  674 U      2:55.85   0   0      0 46366340 5494756     -        0  96.2 65.5 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
  637 S      0:00.03   0   0      0  2462068   2596     -        0   0.0  0.0 -bash
sleepimage	swapfile0
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
  674 R      3:52.88   0   0      0 59835712 5404420     -        0  95.7 64.4 ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
  637 S      0:00.03   0   0      0  2463092   2596     -        0   0.0  0.0 -bash
sleepimage	swapfile0
[1]+  Killed: 9               ffmpeg -y -f lavfi -i nullsrc=s=1920x1080 -vf coreimage=filter=CIUnsharpMask@default -t 600 -f null /dev/null
  PID STAT      TIME  SL  RE PAGEIN      VSZ    RSS   LIM     TSIZ  %CPU %MEM COMMAND
  637 S      0:00.04   0   0      0  2463092   2628     -        0   0.0  0.0 -bash
sleepimage	swapfile0

console log when using dgpu

+0900	kernel	low swap: killing pid 674 (ffmpeg)
+0900	kernel	memorystatus_thread: idle exiting pid 243 [com.apple.audio.DriverHelper]
+0900	kernel	[ffmpeg pid 674 non-mux-aware] exiting, non-mux-aware app count 0, runtime: 0:04:52.496
+0900	kernel	 PEG (usr PEG extdisp 0 capture 0 non-mux-aware app 0 ac 0)

Change History (1)

comment:1 by Elon Musk, 5 years ago

Component: undeterminedavfilter
Note: See TracTickets for help on using tickets.