﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
57	Excessive memory allocation	fbossen		"Memory allocation is excessive, possibly leading to crashes.

Memory usage has been analyzed for the following case:
class B encoding with max CU=32x32, memory snapshot during encoding of 2nd frame

- Transform coefficients:
9 TComList objects
2040 CUs per frame
3 32x32 integer arrays per CU (luma+2*chroma), each array is 4KB
9 * 2040 * 3 * 32 * 32 * 4 = 215MB
- Luma frame buffers: 40 * 4.48MB = 179MB
- Chroma frame buffers: 79 * 1.12MB = 89MB
- Bitstream buffers (TComBitStream objects): 8 * 11.87MB = 95MB

Also see attached jpeg file
"	enhancement	closed	minor		HM		duplicate		fbossen ksuehring davidf jct-vc@…
