If the error is that you are running out of memory, then try increasing the size of your system swap space.
If the error is that some variable is larger than your preference, then you should go into Preferences -> Workspace and scroll down and turn off "Limit the maximum array size to a percentage of RAM"