Question: why does this code terminate (kernel connection lost)

Hi

When I run the attached code (basically just a big loop that doesnt do anything) it terminates early (when i is about 4600).

On my computer I get the error message "kernel connection lost".

On other computers it just stops.

It seems to be quite memory intensive but I don't understand why it terminates. normally if i run a large loop it may take a long time but it will get there eventually. I dont understand why this terminates in the middle.

 

any ideas would be great!

thanks

View 8402_ker3.mw on MapleNet or Download 8402_ker3.mw
View file details

Please Wait...