View Issue Details

IDProjectCategoryView StatusLast Update
0000131JVT JM H.264/AVC reference softwareencoderpublic2008-12-15 14:55
Reporteruser184Assigned ToKarsten Suehring  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionJM-14.1 
Fixed in VersionJM 15.0 
Summary0000131: Could not allocate memory
DescriptionWhen I try to encode DCI 4K frames in inter mode, I get a memory error. I have 4 GB of RAM and tried to add a 10 GB swap partition but this did not solve the issue. Using the same config file with version 12.3 does not get this problem.
TagsNo tags attached.

Activities

Karsten Suehring

2008-09-10 10:35

administrator   ~0000230

Can you please provide the complete config file?

If you are running a 32-bit operating system the memory per process is restricted to 2GB, so adding more RAM/Swap space does not help in that case.

There are some tip to reduce the necessary memory in bug 0000060

2008-09-10 10:40

 

encoder_svt4k_inter.cfg (28,596 bytes)

user184

2008-09-10 10:41

  ~0000231

I uploaded the config file. I'm using a 64 bit system.

Thanks

PS: i followed the tips, but without luck. also, with 12.3 it works fine.

Alexis Michael Tourapis

2008-10-15 01:06

developer   ~0000249

Try modifying the code and comment out any occurence of the PicMotionParams2 structure and mv_info. This would help somewhat with memory. You can also set
#define ENABLE_FIELD_CTX 0 //!< Enables field context types for CABAC. If disabled, results in speedup for progressive content.
#define ENABLE_HIGH444_CTX 0 //!< Enables field context types for CABAC. If disabled, results in speedup for progressive content.

Note that the system may be a 64 bit system, but please ensure that also your OS is 64 bits. Most XP based systems still come with the 32 bit version of Windows XP. You may also find Linux OS being more responsive and reliable for such encodings.

Karsten Suehring

2008-12-15 14:55

administrator   ~0000261

JM 15.0 will have a much lower memory footprint. This should probably resolve the issue. Please reopen if this is still a problem.

Issue History

Date Modified Username Field Change
2008-09-10 10:12 user184 New Issue
2008-09-10 10:35 Karsten Suehring Note Added: 0000230
2008-09-10 10:35 Karsten Suehring Status new => feedback
2008-09-10 10:40 user184 File Added: encoder_svt4k_inter.cfg
2008-09-10 10:41 user184 Note Added: 0000231
2008-10-15 01:06 Alexis Michael Tourapis Note Added: 0000249
2008-12-15 14:55 Karsten Suehring Note Added: 0000261
2008-12-15 14:55 Karsten Suehring Status feedback => resolved
2008-12-15 14:55 Karsten Suehring Fixed in Version => JM 14.2-dev
2008-12-15 14:55 Karsten Suehring Resolution open => fixed
2008-12-15 14:55 Karsten Suehring Assigned To => Karsten Suehring