I think when you get "Memory out Error" then it most likely means
you need to acquire more memory for your computer. One way to
remedy this is to buy more memory and install it in your computer.
This assumes you have already examined your model and made
sure you have implemented it in the most efficient manner.
--Nasser