Thanks for the tip.... but it did not work. I tried setting the buffer size down in steps, finally ending up at 64.... each run took longer because of the decreasing buffer size, but all still ended in the Posix memory allocation error.
I watched system resource usage with each iteration, and, even with the largest buffers, no more than 33% of physical memory and 0.1% of swap were in use.
The debug log from the last (size 64) run is below. Note the repeating DEBUG message at the end (I terminated the process... this seemed to repeat endlessly).
Code: Select all
Debug log started at Sat Aug 30 19:31:54 2014 , written by MakeMKV v1.8.12 linux(x64-release)
Using 65664KB for read cache.
001005:0000 MakeMKV v1.8.12 linux(x64-release) started
001004:0000 Debug logging enabled, log will be saved as /home/dogfolk/MakeMKV_log.txt
005072:0000 Backing up disc into folder "/tmp/LotR/backup/THE_LORD_OF_THE_RINGS"
005050:0000 Evaluation version, 25 day(s) out of 30 remaining
DAFD=PAAAADAAAAEABDQkEEwEBAQ==
DCE=bAGAomBmGwwxnb6skg9+hLJHb1cNAMSbyt7XK9ll3jw1+b5L46us/bvqDmc7Piy+FBYOpKSWo0d3bqxxnp6NZ2kTF2vg/YxHHzlHY7Jn/Z+xgLbr/OfWaJqfiwdk/yvoK1D4mLcfISKuV6sptll+DLEJeW9mMC7ktw==
DCE=G5wSnQGkkEuunHVOvteXYj23+FxI513e7Ku+iQb95SR4kPIEdxzABc68B5WZIk3768pLmOGlXTqwN9GoYbp3i5E4+Nm35eTYoDsBupN6JFMguAA56Qaf63F3KEEzjm6TKE0wwUjAuravp2HZA63+kDImyx1pkQY/Rg==
005085:0000 Loaded content hash table, will verify integrity of M2TS files.
001003:0020 DEBUG: Code 1073741829 at BucY\K38a>4lrVy~:29393953
001003:0020 DEBUG: Code 738333616 at 6Xh(r!zJhwje)U ,:213138333
001003:0020 DEBUG: Code 738333616 at 6Xh(r!zJhwje)U ,:213138333
001003:0020 DEBUG: Code 738333616 at 6Xh(r!zJhwje)U ,:213138333
001003:0020 DEBUG: Code 738333616 at 6Xh(r!zJhwje)U ,:213138333
001003:0020 DEBUG: Code 738333616 at 6Xh(r!zJhwje)U ,:213138333
001003:0020 DEBUG: Code 738333616 at 6Xh(r!zJhwje)U ,:213138333
002003:0000 Error 'Posix error - Cannot allocate memory' occurred while reading '/BDMV/STREAM/00001.m2ts' at offset '536870912'
001003:0020 DEBUG: Code 0 at ,g#PT_Fk6Rfem057:6q:121265890
001003:0020 DEBUG: Code 0 at p_"H2C W"A-FDD<J(g_d:121265108
005069:0080 Backup failed
005080:0204 Backup failed.
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
001003:0020 DEBUG: Code 1073741836 at 6AigV`g~xM\T\<,::213134699
Application exited at Sat Aug 30 19:39:02 2014