On Sat, 2012-04-28 at 18:54 +0300, Tanu Kaskinen wrote: > +/* On my machine with the current implementation (2012-04-28) the size of one > + * history item is 1744 bytes, so in total the history memory consumption is > + * 50 * 1744 = 87.2 kB per memblockq. One chunk_info struct is 16 bytes, so > + * with 100 chunks the chunk list takes 1.6 kB per history item. */ > +#define HISTORY_N_ITEMS 50 > +#define HISTORY_MAX_N_BLOCKS 100 The upper limit of 100 blocks appears to be a bit low. Firefox likes to push 256 bytes at a time with HTML5 videos, and that caused crashing due to the block limit getting exceeded. Setting the limit to 1000 seems to work better - I was able to watch http://www.youtube.com/watch?v=o5-phFVfZnQ with audio :) To be clear, this limit only matters when the history logging is enabled, so in normal use there's no need to worry about this. -- Tanu