#8992: Memory accumulation using x11grab under unclear circumstances
-------------------------------------+-------------------------------------
             Reporter:  smoneck      |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  ffmpeg
              Version:               |               Resolution:  invalid
             Keywords:  x11grab ram  |               Blocked By:
  memory                             |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cus):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Well, if you specify a thread queue size of 1024, then if encoding can't
 keep up with capturing then you eventually get 1024 uncompressed frames in
 RAM meaning 1024*2560*1440*4 bytes which is roughly 14 GB. You either
 should reduce the CPU load (use a faster preset, decrease resolution, etc)
 or decrease frame_queue_size to a 10-20 frames if you accept a lower
 framerate if encoding can't keep up.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8992#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to