rule #1 of good programmer: "load on memory just only the neccesary for what you going to show and some other extra things but not much"
cos rule #2, "if you dont make rule #1, even 32Gb of RAM could can't be enought for you"