Removing JGR from imports seems to fix the memory problems.