[polyml] insufficient memory exception in polyml