I was going add the _FREEIMAGE (map2&) command this morning so I just did that. It brings the RAM down to 339 MB or so. Thanks guys for telling me to do that. I also removed some LIMIT 2000's like you said Petr, thanks.
(Code deleted: Much better code a few pages from this post, without the extra .bmp file orĀ loading time and much less memory RAM.)
(Code deleted: Much better code a few pages from this post, without the extra .bmp file orĀ loading time and much less memory RAM.)