Just applying the patch did not fix the problem for me. I'm a bit confused about the mem=4g part. Is this related to a problem particular to having 4 gb RAM or a more general problem? I have 1 gb RAM, would changing this option possibly help me, and if so, to what value?