From the little search-around, this seems to be a memory allocation problem, check
.
From the links I researched I think your problem is hardware related and not in the code, there were many indications around the lines of the links I gave you that says this is a hardware problem, I am aware of the error academically but in practice I haven't come across it so I lack that expertise to tell you how, someone here, however, should be able to diagnose it sharper.