# Error NAT1222 - what kind of memory?

**URL:** <https://techcommunity.softwareag.com/t/error-nat1222-what-kind-of-memory/170833>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, Natural-for-AJAX, Natural-on-Windows-Unix\
**Created:** [April 24, 2013, 4:26pm UTC](https://techcommunity.softwareag.com/t/error-nat1222-what-kind-of-memory/170833 "2013-04-24T16:26:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ma\_We](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@Ma\_We](https://techcommunity.softwareag.com/u/Ma_We)\
**Post date:** [April 24, 2013, 4:26pm UTC](https://techcommunity.softwareag.com/t/error-nat1222-what-kind-of-memory/170833/1 "2013-04-24T16:26:11Z")

</div>

Hi!  
When I start a natural-ajax program (find-statement) in my develop environment (NaturalOne) I got an error after a few seconds runtime:

Natural marker at this line  
- NAT1222 Memory required for statement execution not available.  
Marker at this line  
- Debug Current Instruction Pointer

Please, can somebody help me: What kind of memory is less then needed? RAM is 1 GB free, have I something (memory size) to configure with Natural Configuration Utility?

Thank you very much,  
Matthias

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 24, 2013, 5:03pm UTC](https://techcommunity.softwareag.com/t/error-nat1222-what-kind-of-memory/170833/2 "2013-04-24T17:03:29Z")

</div>

What statement does the error point to exactly ?

And what operating system are you running on ?

---

<div class="post-metadata">

**Author:** ![Ma\_We](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@Ma\_We](https://techcommunity.softwareag.com/u/Ma_We)\
**Post date:** [April 25, 2013, 11:26am UTC](https://techcommunity.softwareag.com/t/error-nat1222-what-kind-of-memory/170833/3 "2013-04-25T11:26:10Z")

</div>

Hi Wolfgang,  
OS is Windows 7 Prof, 64 bit. Sorry, but I must not public any statements or programs from our buisness.  
I hope I’ll get the Memory-Info without an exactly statement.

Thank you very much,  
Matthias

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 25, 2013, 9:37pm UTC](https://techcommunity.softwareag.com/t/error-nat1222-what-kind-of-memory/170833/4 "2013-04-25T21:37:34Z")

</div>

If you can’t even provide any details re. what statement type is causing the issue please file an incident with Software AG support.

---

<div class="post-metadata">

**Author:** ![Ma\_We](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@Ma\_We](https://techcommunity.softwareag.com/u/Ma_We)\
**Post date:** [April 26, 2013, 10:51am UTC](https://techcommunity.softwareag.com/t/error-nat1222-what-kind-of-memory/170833/5 "2013-04-26T10:51:49Z")

</div>

Hi Wolfgang,

thx for your repley, I thought it is possible to write me what kind of memory is mean by error NAT1222 without a program-statement

cu,  
Matthias

---

<div class="post-metadata">

**Author:** ![Norman\_Halter](https://avatars.discourse-cdn.com/v4/letter/n/a587f6/32.png) [@Norman\_Halter](https://techcommunity.softwareag.com/u/Norman_Halter)\
**Post date:** [April 26, 2013, 11:04am UTC](https://techcommunity.softwareag.com/t/error-nat1222-what-kind-of-memory/170833/6 "2013-04-26T11:04:59Z")

</div>

This is the explanation of this error from Natural for Windows. Maybe this helps:

## NAT1222 Memory required for statement execution not available.

TEXT:  
Memory required for statement execution not available.  
EXPL:  
The memory required to execute the statement is not available.  
Possible reasons are:

- The amount of memory allocated to a dynamic variable or an X-array had  
to be increased, but this caused the total memory available to the  
Natural session to be exceeded.
- The amount of work memory required to execute the statement caused  
the total memory available to the Natural session to be exceeded.
- Natural environment constraints (e.g. the settings of profile  
parameters) limit the total amount of memory available to the Natural  
session.
- Operating or TP system restrictions (e.g. the total memory available)  
limit the amount of memory that is available to the Natural session.  
ACTN:  
Use the system command LASTMSG \* to find out what exactly caused the  
memory request to fail.  
Check program and correct error, or contact your Natural administrator.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:28pm UTC](https://techcommunity.softwareag.com/t/error-nat1222-what-kind-of-memory/170833/7 "2021-04-02T15:28:41Z")

</div>


