Источник:
http://alexvoy.blogspot.com/2008/08/...axapta-30.html
==============
Recently having got an error message after using AOS for batch processing I started digging this problem and finally found out that was described in
Fixlist of Service Pack 5.
(
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)
{
container custcont;
int loop;
Custtable custtable;
;
select custtable;
custcont = conins(custcont,1,custtable.data());
for(loop = 1; loop