make sure youre not loading your images over and over in a loop. sometimes that can cause that error.
also make sure your images are in the directory of the luaplayerwindows file.
pic = Image.load("yay.png") if they are in the same directory.
If they are in a sub-directory it would be
pic = Image.load("Foldername/yay.png")