Julia gets killed in terminal when script is run

This almost always means that you ran out of memory.