Code interpreter major issue - environment running out of memory

All of my assistant API chats with code interpreter enabled are returning that there’s not enough memory in the environment to execute a request, even for new chats.

6 Likes

What kind of requests are you asking it to complete? :thinking:

1 Like

I face the same issue for the last hours, nothing works, I also get some error about failure in thread and OpenBLAS

1 Like

It cannot handle basic requests, like show me top the top 5 rows from a CSV. Even for chats with a single message and small file.

1 Like

This happens to me also, MAJOR ISSUE!

2 Likes

It typically happens for complex requests and/or handling large files, but now it is as if there is zero memory to execute any request.

I just wish they at least recognize the issue on the status page.

2 Likes

Same here, happening for simple requests, like reading a 13KB .xlsx and getting the title that appears more often…

2 Likes

From what I can see, the container image jumped from NumPy 1.x + MKL to NumPy 2.0.x built against OpenBLAS 0.3.29, but the sandbox’s RLIMIT_NPROC limit still blocks OpenBLAS from spawning its usual 32 worker threads.

2 Likes

Same issue here. These are simple requests on small files, so it’s definitely a system issue.

2 Likes

I am dealing with the same issue. Simple CSV file upload. Tested with a very small file in my code and also just using ChatGPT (for a totally different account). So the problem is happening everywhere at this point. And our product is down.

Here are some of the messages:

  • It looks like there was a resource error while trying to open the file
  • It looks like the environment reset, so the file is no longer available.
  • It seems there is an issue with accessing the file due to resource constraints.
1 Like

I’ve been pulling my hair out, I happened to just implement code interpreter last night so I assumed it was somehow on my end.

:roll_eyes:

Same issue, mostly repeated:

OpenBLAS blas_thread_init: pthread_create failed for thread 17 of 32: Resource temporarily unavailable
Exception ignored in: <bound method IPythonKernel._clean_thread_parent_frames of <ipykernel.ipkernel.IPythonKernel object at 0x7ea141f2eda0>>
Traceback (most recent call last):
  File "/home/sandbox/.local/lib/python3.11/site-packages/ipykernel/ipkernel.py", line 775, in _clean_thread_parent_frames
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 18 of 32: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 19 of 32: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 20 of 32: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 21 of 32: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 22 of 32: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 23 of 32: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 24 of 32: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 25 of 32: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 26 of 32: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 27 of 32: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 28 of 32: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 29 of 32: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 30 of 32: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 31 of 32: Resource temporarily unavailable
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
    def _clean_thread_parent_frames(

KeyboardInterrupt: 
Unexpected exception formatting exception. Falling back to standard exception
Traceback (most recent call last):
  File "/home/sandbox/.local/lib/python3.11/site-packages/IPython/core/interactiveshell.py", line 3577, in run_code
  File "/tmp/ipykernel_12/1810488364.py", line 1, in <module>
  File "/home/sandbox/.local/lib/python3.11/site-packages/pandas/__init__.py", line 11, in <module>
  File "/home/sandbox/.local/lib/python3.11/site-packages/pytz/__init__.py", line 15, in <module>
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1138, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1078, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1504, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1476, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1616, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1659, in _fill_cache
OSError: [Errno 12] Cannot allocate memory: '/home/sandbox/.local/lib/python3.11/site-packages/pytz'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/sandbox/.local/lib/python3.11/site-packages/IPython/core/interactiveshell.py", line 2168, in showtraceback
  File "/home/sandbox/.local/lib/python3.11/site-packages/IPython/core/ultratb.py", line 1457, in structured_traceback
  File "/home/sandbox/.local/lib/python3.11/site-packages/IPython/core/ultratb.py", line 1348, in structured_traceback
  File "/home/sandbox/.local/lib/python3.11/site-packages/IPython/core/ultratb.py", line 1195, in structured_traceback
  File "/home/sandbox/.local/lib/python3.11/site-packages/IPython/core/ultratb.py", line 1085, in format_exception_as_a_whole
  File "/home/sandbox/.local/lib/python3.11/site-packages/IPython/core/ultratb.py", line 1153, in get_records
  File "/usr/local/lib/python3.11/inspect.py", line 991, in getmodule

Even with reading the first few lines of a reasonably small CSV (2MB).

Along with the occasional:

AceTooManyRequestsException
Encountered exception: <class 'ace_common.ace_exception.AceTooManyRequestsException'>

I’m having tha same issue with a Custom GPT that samples a small excel file. It started not working on Sunday May 4th for me

I was able to get in contact with one of the OpenAI API devs. It’s been passed along to the appropriate team, so they’re aware. Hopefully this is resolved ASAP.

3 Likes

Exactly the same problem here. It runs “out of memory” even for a 5x3 dataframe

Apologies for the disruption, we are working on a mitigation

11 Likes

same problem*( ping please when it works. :raised_back_of_hand:

UPDATE: I’m finding that it’s working now.

3 Likes

It’s still hit or miss here.

Enfrentei o mesmo problema ao longo de todo o dia.
Nenhuma análise de dados mais complexa era possível de ser realizada, o argumento principal era sobre “limitações técnicas de memória”… que impediam a leitura e análise de grandes arquivos de excel e afins.