aws-cli/2.34.14 causes MemoryError
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
### Describe the bug
Aws cli aws cli version aws-cli/2.34.14 Python/3.14.3 Linux/5.14.0-611.42.1.el9_7.x86_64 exe/x86_64.rhel.9
on a Ec2 t3.small causes MemoryError when call a aws sqs send-message.
Stacktrace:
Traceback (most recent call last):
File "pyiboot01_bootstrap.py", line 78, in
File "pyimod03_ctypes.py", line 27, in install
File "", line 1371, in _find_and_load
File "", line 1342, in _find_and_load_unlocked
File "", line 938, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "ctypes/__init__.py", line 10, in
MemoryError
[PYI-7303:ERROR] Failed to execute script 'pyiboot01_bootstrap' due to unhandled exception!
### Regression Issue
- [ ] Select this option if this issue appears to be a regression.
### Expected Behavior
Same ec2 with previous version works correctly, I did a downgrade to aws-cli/2.33.25 Python/3.13.11 Linux/5.14.0-611.34.1.el9_7.x86_64 exe/x86_64.rhel.9 and it works
### Current Behavior
Stacktrace:
Traceback (most recent call last):
File "pyiboot01_bootstrap.py", line 78, in
File "pyimod03_ctypes.py", line 27, in install
File "", line 1371, in _find_and_load
File "", line 1342, in _find_and_load_unlocked
File "", line 938, in _load_unlocked
File "pyimod02_importers.py", line 457, in exec_module
File "ctypes/__init__.py", line 10, in
MemoryError
[PYI-7303:ERROR] Failed to execute script 'pyiboot01_bootstrap' due to unhandled exception!
### Reproduction Steps
.
### Possible Solution
_No response_
### Additional Information/Context
_No response_
### CLI version used
aws-cli/2.34.14
### Environment details (OS name and version, etc.)
EC2 t3.small - Red Hat Enterprise Linux release 9.7 (Plow)
Contributor guide
Assessment
This issue has not been assessed yet.