ETC EM failing and crashing due to growth in PostgreSQL