(Problem #1748 Processing some X++ code constructions resulted in a memory leak.)
You may see the same error by creating a job like the following one as it was suggested in Fixlist in order to reproduce the message. I just increased the number of iteration and an info to see the progress.
static void MemoryLeakTest(Args _args)
custcont = conins(custcont,1,custtable.data());
for(loop = 1; loop <= 100000; loop++)
infolog.add(exception::Info, strfmt('loop %1', loop));
[custtable] = conpeek(custcont,1); //memory leak