Exception of type 'System.OutOfMemoryException' was thrown.

Exception of type ‘System.OutOfMemoryException’ was thrown while find large data from ax using via aif services.

Thanks in advance


The exception means that you tried to allocate more operation memory than available.

One option is to get more memory, of course. Nevertheless maybe your implementation isn’t optimal - maybe it doesn’t clean up memory that’s not needed anymore, maybe it wastes memory (e.g. by holding the same data at several places) or the file is simply too big and you should try to load it into memory at once.

Hallo Manikkam,
did you solved your Problem.
I have also an ‘System.OutOfMemoryException’ when I create an report via AIF. If I execute the Report, the System Memory has all the time enough free space. this could not be the Problem …
what was your solution?