You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OpenTUI causes crashes and heavy memory usage #3798
I got this crash when trying to load a session in the session list. It said that the session not found then crash.
That session was terminated by myself when the opencode became too laggy. I've check the Activity monitor at that time, it reported that opencode had use 14GBs of memory.
Is this because of opentui? Or is it because you made a giant session to test the limits of session lists and performance there? Does this session work fine on old opencode?
I know u have a PR with the diff stuff and Ill take a look but to help us narrow down for the time being these may be good questions to know answers to
Then while the opencode was working, it became frozen. I checked the memory usage, it went to 14GB for opencode. Then I stopped the opencode, then opened it again, trying to load the last session, and got the crash.
The new UI is taking around ~30% consistently to analyze a small code base while old v0.15.31 starts with a spike 50 and then uses around ~7-11%.
Checked with the latest version.
Activity
github-actions commentedon Nov 3, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
yudgnahk commentedon Nov 3, 2025
Load this session:

Session not found:

Then crash when I load again:

yudgnahk commentedon Nov 3, 2025
Another session loading with black screen only, loading forever.
rekram1-node commentedon Nov 3, 2025
Is this because of opentui? Or is it because you made a giant session to test the limits of session lists and performance there? Does this session work fine on old opencode?
I know u have a PR with the diff stuff and Ill take a look but to help us narrow down for the time being these may be good questions to know answers to
yudgnahk commentedon Nov 3, 2025
@rekram1-node honestly, I don't know the reason why. I can get the session list immediately with the current opencode version.
With the old version (before v1.0.0):
With new new version (v1.0.15):
If you need anything else, please let me know.
rekram1-node commentedon Nov 3, 2025
Ah the blank screen is some rendering bug I think, some people said they can scroll to it but yeah needs to be fixed
thanks for the details we will address this!
jerome-benoit commentedon Nov 3, 2025
Bitten by similar issue.
To reproduce with 1.0.15:
And yes, it was working before the version 1.
rekram1-node commentedon Nov 3, 2025
OO okay that's really helpful ty @jerome-benoit
thdxr commentedon Nov 6, 2025
can you try again with latest?
rjshrjndrn commentedon Nov 6, 2025
The new UI is taking around ~30% consistently to analyze a small code base while old v0.15.31 starts with a spike 50 and then uses around ~7-11%.
Checked with the latest version.
kommander commentedon Nov 12, 2025
A lot of improvements went into the latest versions, is this one any better?