5242880 bytes = ~5 megabytes
Take a look at your task manager when running the render. Is all of your memory being eaten up? If yes, then you'll need to change some things in your scene. Either that, or buy more memory.
Imagination is more important than knowledge.