A lot of thanks to @joefarebrother! If you want to use this you'll definitely want to increase the heap maximum...