# memory issue AWX 21.5.0

**URL:** <https://forum.ansible.com/t/memory-issue-awx-21-5-0/37202>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [October 11, 2022, 8:57am UTC](https://forum.ansible.com/t/memory-issue-awx-21-5-0/37202 "2022-10-11T08:57:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marek\_Slebodnik](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@Marek\_Slebodnik](https://forum.ansible.com/u/Marek_Slebodnik)\
**Post date:** [October 11, 2022, 8:57am UTC](https://forum.ansible.com/t/memory-issue-awx-21-5-0/37202/1 "2022-10-11T08:57:53Z")

</div>

Hello,

After upgrade to AWX 21.5.0 we’ve started experiencing memory issue after Job Template executions. It looks like completely random issue. It already happened with different job templates.

File “/var/lib/awx/venv/awx/lib64/python3.9/site-packages/ansible\_runner/utils/streaming.py”, line 39, in stream\_dir archive.close() File “/usr/lib64/python3.9/zipfile.py”, line 1309, in **exit** self.close() File “/usr/lib64/python3.9/zipfile.py”, line 1838, in close self.\_fpclose(fp) File “/usr/lib64/python3.9/zipfile.py”, line 1938, in \_fpclose fp.close() OSError: [Errno 12] Cannot allocate memory

Regards  
Marek Slebodnik

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [October 12, 2022, 6:44pm UTC](https://forum.ansible.com/t/memory-issue-awx-21-5-0/37202/2 "2022-10-12T18:44:06Z")

</div>

Hi,

What are the specs of the machine AWX is deployed on (cpu and memory capacity), and whether you have defined resource limits on AWX containers in the AWX resource spec.

Also, how much stdout should get produced from the Job Template (when it is successful)?

Do you only experienced these failures when system is under load (other jobs in running or pending state)?

AWX Team
