Opened 14 years ago Closed 14 years ago #21 closed defect (fixed)Frequent memory allocation (TMuC 0.5, revision 81)
Description
During tracing memory leak, we noticed a problem with the current ALF, CABAC and PIPE.
When using encoder_lowdelay_loco.cfg code 3 WQGVA frames (gop size=2, 1 intra frame), 4452 times of memory allocation were recorded.
When using encoder_lowdelay_loco.cfg and --ALF=1, memory allocation is increased to 327,753 times.
When using encoder_lowdely_loco.cfg and --SymbolMode=1 (CABAC), memory allocation is increased to 12,396,839 times.
When using encoder_lowdely_loco.cfg and --SymbolMode=2 (PIPE), memory allocation is increased to 12,396,839 times. (I was some surprised that we got the exact same number for CABAC and PIPE.)
In principle, too frequent memory allocation will slow down the coding speed and lead to memory fragmentation. We think it is better to improve the related code. Change History (6)comment:1 Changed 14 years ago by fbossen
comment:2 Changed 14 years ago by fbossen
Issue in TComTrQuant::xRateDistOptQuant was resolved in revision 84. comment:3 Changed 14 years ago by fbossen
comment:4 Changed 13 years ago by davidf
Updating component after adding WD (Text) tickets comment:5 Changed 13 years ago by davidf
comment:6 Changed 13 years ago by davidf
Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant
|
Issue has been traced to following functions:
TEncAdaptiveLoopFilter::xInitParam
TComTrQuant::xRateDistOptQuant