(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
Cannot reproduce this with kernel version 3.0.1951.7609 (KR3). I've changed the loop to execute 500 000 times and still couldn't make Axapta to crash with this job. By the way, I used print instead of infolog to see the progress - it works much faster this way and consumes less memory.
that's correct because this issue was fixed in SP5 when your 1951.7609 corresponds SP6
# The Best SAP Training Video You Ever Seen...
We Guarantee...!!! You CAN be a certified SAP consultant fast...
Post a Comment