you have only!! 309 entries in your array?
maybe you acces an index which does not exist, because i had arrays with nearly 8000 entries and i got no crash
i stored a full picture in an array to recalculate it
it's much faster then read and write every time...
so you shouldn't have problems with 309 entries


Visit my site: www.masterq32.de