Codex for web becomes unresponsive and crashes for tasks with a larger number of prompts

I’ve been using Codex over the browser extensively over the last few days, but I’ve started to get bogged down with it becoming unresponsive to the point of crashing when tasks start to have a “larger” number of prompts. For example, stuff like this:

Application Error

qe@https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:50:582
AB@https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:50:66627
Ap@https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41:54757
$p@https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41:77592
nT@https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41:87951
LT@https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41:123789
$2@https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41:122833
pg@https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41:122661
CT@https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41:119440
KT@https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41:131418
Wu@https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41:129964
zT@https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41:130244
XU/tU/<@https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41:131476

And the console shows something like this:

Error: You cannot render a <Router> inside another <Router>. You should never have more than one in your app.
    qe https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:50
    AB https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:50
    Ap https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    $p https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    nT https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    LT https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    $2 https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    pg https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    CT https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    KT https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    Wu https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    zT https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    tU https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
n75kuy1cx6f5mogg.js:58:147286
Error: You cannot render a <Router> inside another <Router>. You should never have more than one in your app.
    qe https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:50
    AB https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:50
    Ap https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    $p https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    nT https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    LT https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    $2 https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    pg https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    CT https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    KT https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    Wu https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    zT https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    tU https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
n75kuy1cx6f5mogg.js:58:147286
Error: You cannot render a <Router> inside another <Router>. You should never have more than one in your app.
    qe https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:50
    AB https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:50
    Ap https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    $p https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    nT https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    LT https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    $2 https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    pg https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    CT https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    KT https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    Wu https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    zT https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
    tU https://cdn.oaistatic.com/assets/n75kuy1cx6f5mogg.js:41
n75kuy1cx6f5mogg.js:58:147286
Uncaught out of memory 250 

This error only happens occasionally, but for conversations that are a bit longer, the app freezes continuously and becomes unresponsive (Firefox reports that the page slowing it down and should be stopped). It does start working again after 20-30 seconds, but freezes again if I try typing.

This happens both on Firefox and Chrome (on Windows) on different devices, as well as Chrome Mobile on Android.

Does anybody else have these problems?

1 Like

This isn’t a codex issue it happens with all long chats on chrome, edge, firefox. Only way around it I found is to use a mobile browser on phone or the Chatgpt phone app if that doesn’t crash and something like phone link app if on windows to cut and paste between pc and phone. Mobile browsers seem to handle long chats much more efficiently than desktop and I can get to the end of the chat limit allowance where Chatgpt finally says we’re done you’ve reached the limit for this chat length.

As I said, I’ve tried it on mobile as well, the same thing happens. I never had these kind’s of issues with ChatGPT, but Codex isn’t available through that. I think this has something to do with rendering the diffs of changed files, so it is Codex specific.

This seems to be a memory issue. Firefox reported over 10Gb of RAM usage with only one problematic task page open. I think there’s either a memory leak or the web app simply unoptimized. But I’d bet on the leak because just using the page bumps up the memory usage by gigabytes at times, for no apparent reason.