View Full Version : mkvmerge memory management stratagy ? -> crash -> adding tag after mux ?
Eric B
9th August 2003, 12:20
As VirtualDubMod does not allow all matroska tags, I'm using mkmerge GUI and a XML file. I mux 6 tracks (1 divx, 2 ac3, 3 ogg vorbis) for a total of 2000MB.
With VirtualDubMod, it's done fast and efficiently. With mkvmerge, the mux is beginning well, but the memory usage increases more and more. When it is arround 300MB (I have 512MB ram, I've seen 350MB used by mkvmerge!!), it becomes very slow. And after an hour, mkvmerge crashs.
What it the memory management strategies of mkvmerge ? It seems all the audio tracks are copied into ram but not freed ! The ram usage corresponds indeed to the proportion of audio tracks in my file.
I'm using mkvmerge GUI 0.6r4 and the exe file packaged with mmg (1.16MB).
I'm under Windows XP Pro, should I switch to linux?
Is it possible to mux the tracks with VirtualDubMod and then, adding tags in the mkv file ?
TCMP offers an interface to do so, but the changes does not seems to be saved.
darth rosenberg
9th August 2003, 15:53
Is it possible to mux the tracks with VirtualDubMod and then, adding tags in the mkv file ? The alternative question: Would it be possible to fix that bug in mkvmerge? :D
Mosu
10th August 2003, 11:26
Guys, please, PLEASE send bug reports directly to me (moritz@bunkus.org), contact me on IRC (irc.corecodec.com, #matroska) or use my bug tracker (http://www.bunkus.org/anthill/). Thanks.
Ok now to the problem.
What it the memory management strategies of mkvmerge ?
Read something from the source files, find the smallest timecode, write that stuff into the destination file, free the memory.
I'm using mkvmerge GUI 0.6r4 and the exe file packaged with mmg (1.16MB).
I don't use mmg. Which mkvmerge version is that? (try 'mkvmerge --version')
What's your command line? I usually can mux files that big (well i only test up to 1,4G, but the problem would show up with 1,4G if it shows up so 'early' for you.)
Could you please download http://www.bunkus.org/videotools/mkvtoolnix/win32/pre/mkvmerge-0.6.0-20030810-2.zip , unzip the mkvmerge.exe, copy it to where mmg expects it and re-run the test. I'd just like to make certain that it still happens with the current release.
Barker
10th August 2003, 11:37
m00,
Any reason why you don't want these bugs being discussed here? Wouldn't that allow us all that have the same problem NOT to email you (hence not causing confusion in the long run on this forum). One reply on this forum (This is a problem, I (we) will fix this)would suffice.
Being open about problems may help you, like the ABIT leaky capacitor stuff a while back.
My opinion, sorry if I offended anyone.
Regards,
Barker
Mosu
10th August 2003, 11:43
Originally posted by Barker
Any reason why you don't want these bugs being discussed here? Wouldn't that allow us all that have the same problem NOT to email you (hence not causing confusion in the long run on this forum). One reply on this forum (This is a problem, I (we) will fix this)would suffice.
Don't worry, you haven't offended me at all :) I don't have anything against being open or against this forum. The problem is that I just don't read it frequently! I read a few threads that I'm subscribed to. So unless someone tells me that there's a bug report in a new thread I may very well overlook it :( (In this case robux has told me about this thread.)
So you can continue posting here, but a short notification via email or forum PM would be nice so that I actually notice the thread ;)
Barker
10th August 2003, 12:04
Understood, and after I posted, i realized that because you dont frequent here might be the reason, sorry for the misconception (your post count is high).:rolleyes:
robUx4
10th August 2003, 18:20
Originally posted by Barker
(your post count is high).:rolleyes:
Because he write so many bugs !
;) :D
Mosu
10th August 2003, 18:30
Originally posted by robUx4
Because he write so many bugs !
;) :D
Yeah... shame on me :( I should write perfect software, then I could stay totally anonymous. I'd let others do the announcements for me and would lie on the beach with a cool drink in my hand.
But, robux, I'm a fair person, and I don't want you to feel bad about being the only person producing so many bugs. That's why I usually produce some extra bugs, just for you! :D
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.