Error: Could not allocate memory for scan.
Source position: graphh.inc line 206
const grNoScanMem = - 6;