-
Notifications
You must be signed in to change notification settings - Fork 1
elm_code: 100% CPU/Memory on large files #4
Comments
This maybe an elm code bug not sure. |
Opened task upstream T5497 |
the test file |
Not resolved with EFL 1.19.1 it does not crash, but never opens, seems to hang or something. Need to debug further. |
Just to update this. It stoped crashing on files. On huge ones it just hangs there being slow. At least on my slow system. Efl from git. |
Were you able to close it when it was slowly opening large files? For me I end up with a OOM and crash after a bit. It eats up CPU as well as RAM. I mentioned on the task T5497. Seems like some progress, but not 100% there yet. |
killall -9 ecrire did it. It hadn't been able to render anything on the screen though. And yes noticed the same. 100% CPU and eating ram. |
The CPU spike was fixed in EFL, but it does take a long time to load large files. |
Very likely, but all that is due to elm_code. Ecrire just passes the document to load to elm_code. Catching, performance, etc is all specific to elm_code. I may look into contributing and furthering elm_code, but not sure I fully understand it yet. If its even fully developed. I think elm_code is still considered experimental. I guess we can close this bug. Though I may wait till its fixed in a release version. I assume the fix is in git and not say 1.20.4 release. Thanks for keeping me informed! |
Despite all related tasks being closed upstream. The issue still remains. I get 100% CPU when trying to open the document. EFL 1.20.5. Not sure about git, assuming that is the same. |
Adding upstream so they are aware of issues |
The fact that it crashed was fixed. The high CPU usage appears to be a new issue. I have been working with ApBBB to resolve this new issue. |
I tried replicating that locally and I find: This is clearly not acceptable but I wanted to check that we are on the same page before I look into a fix. |
leafpad opens immediately, netbeans issues warning about size and maybe slow, but opens fine no delay. It may have something to do with processing, as in syntax. Given the issue reported in phab task 6209. Maybe totally unrelated, but maybe what ever is causing that lag could be causing lag on file load/close. Though that could be focus/select related. Much smaller file. This one never opens for me. Just freeze ecrire, maxes out a core, and memory starts increasing till OOM. |
I just tried opening fgdgda.txt in ecrire and ecrire never shows up (double click file), or just sits there frozen with the file-selector window open. All I can see it doing is slowly eat ram until I end up killing it's process in exterminator. |
Tried edi on my git system (a really slow one). Same behavior as with ecrire on it. 100%cpu, nothing on the screen and memory going up. At least the result is not as explosive as on my stable system. |
Same here, issue still present using efl-git. |
Seriously improved in the last version of EFL (1.24.3). |
nahhh. still takes ages to open a 3.6MB file. |
It actually opened a couple times for me, but there were issues each time. It also crashed as I tried to navigate the document via scrollbars. It does seem to be a little better, or different, but remains an issue. |
Tried ecrire file.txt from the command line. Not sure if this is because of the size of the files but here goes:
The text was updated successfully, but these errors were encountered: