-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A lot of output locks up then crashes Hyper #94
Comments
@Tyriar, is this still the case? |
@codetheory yes 😞 |
I don't know if I'm having the same issue. With commands that generate a lot of output, Hyper will stop responding. Memory usage keeps going up, and then it just stops responding. This command will do that: time ls -lR /usr |
This is affecting me too. |
Had to switch to an alternate terminal today when this popped up. Grepping consistently crashes the program (Hyper Helper = 100% CPU usage) and makes me lose all tabs. This is a deal breaker. |
I can second this. Deal breaker for me, too. Had to sadly switch back to Terminal.app today, much as I love Hyper.js. |
Somehow related I assume: hangs when doing |
Definitely a deal breaker - I want to use hyper but it's impossible to do so when it doesn't really seem to be able to handle giant outputs/logs in a day-to-day dev environment. Hoping some more progress is made on the performance side of things. |
This is happening to me too, hyper freezes all the time after I do |
@bntzio This issue is supposed to be fixed in our canary release (using |
@chabou using Hyper 1.4.8 (stable) |
Has any progress been made on this? Still an issue with 1.4.8 stable. I am using zsh instead of bash if it makes any difference? |
@AlienHoboken this issue should be fixed in the Canary build (v2.x). |
I've just downloaded 2.0.0-canary.8 and am still having the issue.
If I can provide any more information, I'd love to. |
It is possible to stall the terminal still (depends largely on your hardware). The cause is that the parser runs on the main thread and is limited to parsing a maximum of 300 characters per frame https://github.com/xtermjs/xterm.js/blob/8c4e6b0e5b8188c361f7e787cca18fadb26d8d33/src/Terminal.ts#L60-L64 The fix for this would be to do this work in a web worker but that's probably a ways off (unless there is a willing contributor). |
If it helps, the spec of the Mac I'm working on are as follows:
Interestingly, the Thanks for the speedy reply! I've not ever looked into the xtermjs stuff, or really at web workers, but will have a look. I probably won't be capable or helping out though :( |
I found this today when I tried using |
The same is happening to me.. Sometimes I have to run cURL commands on terminal and it returns a big output that instantly crashes Hyper.js. |
@iamvinny Can you try the canary release? It certainly stress tests your systems but it does't lock up Hyper for me anymore. |
@timothyis , thanks, changing the update channel to canary solved the problem. |
V2 is out 🎉 |
Tested under Ubuntu 16.04.
When running:
Hyperterm locks up to 1 frame every few seconds and crashes (turns all black then all white) shortly afterwards.
By comparison,
gnome-terminal
runs in:This is almost certainly an issue with hterm and a use case they haven't optimized around. As an aside, we've worked a bit to get this usable on xterm.js which runs it in around 10 seconds but there are still improvements to be made.
The text was updated successfully, but these errors were encountered: