Allocate memory failed when there is over 200GB of free memory
OS:Ubuntu 20.04 LTS
Hardware: Dual socket Intel 8358 with 256GB RAM
ffmpeg binary download from https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/v1.0.0
runs with 8 core each process
#! /bin/bash
./atop -w atop.txt &
./ffmpeg -i input1.mp4 -ss 15 -t 180 -c:v libsvtav1 -svtav1-params "crf=30:preset=10:lp=8:ss=0" svtav1_test1_$(date -u +"%Y-%m-%dT%H:%M:%SZ").mp4 & pids+=($!)
./ffmpeg -i input2.mp4 -ss 15 -t 180 -c:v libsvtav1 -svtav1-params "crf=30:preset=10:lp=8:ss=1" svtav1_test2_$(date -u +"%Y-%m-%dT%H:%M:%SZ").mp4 & pids+=($!)
for pid in "${pids[@]}"; do
wait "$pid"
done
killall atop
error message
SvtMalloc[fatal]: allocate memory failed, at /builds/AOMediaCodec/SVT-AV1/svtav1-src/Source/Lib/Encoder/Globals/EbEncHandle.c:2229
[libsvtav1 @ 0x5634140] Error initializing encoder: insufficient resources (0x80001000)
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[aac @ 0x56f40c0] Qavg: 288.075
[aac @ 0x56f40c0] 2 frames left in the queue on closing
Conversion failed!
Atop shows 240 gigs of memory left
Edited by Christopher Degawa