---
title: "Conversion of XAF to Excel gives the message itgenrvl003 An exception of type System.OutOfMemoryException occurred"
language: en
source_language: nl
translation_state: complete
canonical: https://documentation.invantive.eu/en/forum/3964/conversie-xaf-naar-excel-geeft-melding-itgenrvl003-uitzondering-opgetreden-van-het-type-system-outofmemoryexception
original: https://documentation.invantive.eu/nl/forum/3964/conversie-xaf-naar-excel-geeft-melding-itgenrvl003-uitzondering-opgetreden-van-het-type-system-outofmemoryexception
updated: 2026-11-30T17:23:55Z
license: https://documentation.invantive.eu/en/
---

# Conversion of XAF to Excel gives the message itgenrvl003 An exception of type System.OutOfMemoryException occurred

Reading XAF file gives the following message:

> An exception of type System.OutOfMemoryException has occurred.
> itgenrvl003:
> Statement #2 starting on line 3 caused an error.
> Message ID: a48ed080-367c-4859-80fc-944e8631fe7c

## Accepted answer

This is unlikely to work. The files are processed as Unicode (UTF-16) and the size then amounts to slightly more than 2 GB in memory, which is likely to cause the maximum capacity of an element to be exceeded. See for example [Processing XML file gives itgenclr007 - Application is using more memory than available](https://forums.invantive.com/t/verwerken-xml-bestand-geeft-itgenclr007-application-is-using-more-memory-than-available/2423).

A higher limit may possibly be reached via `xmltable` (see [Processing very large text files in JSON, NDJSON, CSV and XML format in SQL](https://forums.invantive.com/t/processing-very-large-text-files-in-json-ndjson-csv-and-xml-format-in-sql/2459)), but given the dependency on the .NET platform and its limit of 2 GB for a number of elements, that can be error-prone.

A tool was once developed by the Tax and Customs Administration itself, but was subsequently made available outside the organisation a long time ago. It is expected to be able to open larger files. We cannot find the name with certainty in our records, but it may be possible to find it via Google.

## Reply 2

What is the total size of all XAF files that are selected (if multiple in a folder)?

What is the size of the largest XAF file that is selected?

## Reply 3

It is a single file of 1,22 GB.

## Reply 5

This question was automatically closed after 1 week of inactivity. The last answer provided has been marked as the solution.

Please ask a new question in a separate thread if the problem reoccurs. Please include a link to this thread in the new question by pasting its URL into the text.

## Reply 7

An improvement has been included in the BETA release 27.1 and later versions, whereby there are no longer any known limits on maximum file size.

---

Source: [https://forums.invantive.eu/t/conversie-xaf-naar-excel-geeft-melding-itgenrvl003-uitzondering-opgetreden-van-het-type-system-outofmemoryexception/3964](https://forums.invantive.eu/t/conversie-xaf-naar-excel-geeft-melding-itgenrvl003-uitzondering-opgetreden-van-het-type-system-outofmemoryexception/3964)
