I think I might have realised my error. I'm defining the array inside a class, and I guess that means it has to go into RAM.