Comments (21)
This maybe an elm code bug not sure.
from ecrire.
Opened task upstream T5497
from ecrire.
the test file
from ecrire.
Not resolved with EFL 1.19.1 it does not crash, but never opens, seems to hang or something. Need to debug further.
from ecrire.
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.
from ecrire.
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.
from ecrire.
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.
from ecrire.
The CPU spike was fixed in EFL, but it does take a long time to load large files.
Maybe some sort of caching should be used here.
from ecrire.
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!
from ecrire.
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.
from ecrire.
Adding upstream so they are aware of issues
@Enlightenment @ajwillia-ms @zmike
from ecrire.
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.
from ecrire.
I tried replicating that locally and I find:
It takes 15 seconds to open the file
The UI is a little sluggish when moving around
It takes 5 sec to close the file.
This is clearly not acceptable but I wanted to check that we are on the same page before I look into a fix.
from ecrire.
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.
from ecrire.
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.
from ecrire.
Here is edi doing it as well, edi Desktop/fgdga.txt. No edi window, just what you see in htop
from ecrire.
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.
Also tested l3afpad with the file and opened it without an issue.
from ecrire.
Same here, issue still present using efl-git.
from ecrire.
Seriously improved in the last version of EFL (1.24.3).
from ecrire.
Seriously improved in the last version of EFL (1.24.3).
nahhh. still takes ages to open a 3.6MB file.
from ecrire.
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.
from ecrire.
Related Issues (20)
- Save dialog issues HOT 18
- Save and Save As don't stay highlighted after a second change HOT 1
- Saving after hiting the X to close on the top bar doesn't make Ecrire close HOT 3
- Segmentation fault and crash on save as HOT 5
- Save and Save as don't highlight after paste on new doc. HOT 4
- Ecrire fails with latest git HOT 16
- [efl + meson < 0.52.0] /usr/lib/libefreet_mime.so.1: error adding symbols: DSO missing from command line HOT 31
- Build issue on efl 1.23.0 HOT 3
- settings dialog segfault ecrire HOT 21
- Problem of transition effect on file open HOT 4
- No focus on startup HOT 2
- Some commands are disabled HOT 4
- Copy/Paste key bindings HOT 4
- Unblink cursor HOT 1
- Cannot build on Mac OS X HOT 10
- Search area bugs HOT 1
- Add some key bindings
- Another problem with open animation HOT 7
- Crash on second 'Open' HOT 1
- Crash with selected text HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecrire.