I'm running this code in which I establish the workspace needed and let's say :
lenw = 15*xtent*ytent*ztent
LenIW = 15*xtent*ytent*ztent
So the code needs 15 times the number of nodes on my grid. The problem comes when I use a larger 3D domain let's say 500x500x500 this means the code would need a workspace of 1.875e9 and my computer freezes. Is this a RAM memory problem or how could I make this run?