Philippsen's Blog

Everyday findings in my world of .net and related stuff

Archive for January, 2017

Insufficient memory to run script

Posted by Torben M. Philippsen on January 24, 2017

Today I met a boundary when creeating a routine that produces a pricelist in AX 4.0 for a webshop. When creating the required xml I was receiving the error:

Error executing code: Insufficient memory to run script.

It turns out that AX4.0 per default has a 4mb buffersize. And as the resulting xml would contain about 16 mb of data I kept getting the exception. I found good help to increase the buffersize in this post from Martin Dráb.

Posted in Microsoft Dynamics AX | Tagged: , , | Comments Off on Insufficient memory to run script

 
%d bloggers like this: