Giter Site home page Giter Site logo

Comments (21)

wltjr avatar wltjr commented on September 21, 2024

This maybe an elm code bug not sure.

from ecrire.

wltjr avatar wltjr commented on September 21, 2024

Opened task upstream T5497

from ecrire.

ApostolosB avatar ApostolosB commented on September 21, 2024

fgdgda.txt

the test file

from ecrire.

wltjr avatar wltjr commented on September 21, 2024

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.

ApostolosB avatar ApostolosB commented on September 21, 2024

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.

wltjr avatar wltjr commented on September 21, 2024

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.

ApostolosB avatar ApostolosB commented on September 21, 2024

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.

NuLogicSystems avatar NuLogicSystems commented on September 21, 2024

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.

wltjr avatar wltjr commented on September 21, 2024

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.

wltjr avatar wltjr commented on September 21, 2024

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.

wltjr avatar wltjr commented on September 21, 2024

Adding upstream so they are aware of issues
@Enlightenment @ajwillia-ms @zmike

from ecrire.

andydotxyz avatar andydotxyz commented on September 21, 2024

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.

andydotxyz avatar andydotxyz commented on September 21, 2024

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.

wltjr avatar wltjr commented on September 21, 2024

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.

NuLogicSystems avatar NuLogicSystems commented on September 21, 2024

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.

wltjr avatar wltjr commented on September 21, 2024

Here is edi doing it as well, edi Desktop/fgdga.txt. No edi window, just what you see in htop
shot-2017-11-24_17-54-25

from ecrire.

ApostolosB avatar ApostolosB commented on September 21, 2024

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.

NuLogicSystems avatar NuLogicSystems commented on September 21, 2024

Same here, issue still present using efl-git.

from ecrire.

Peter2121 avatar Peter2121 commented on September 21, 2024

Seriously improved in the last version of EFL (1.24.3).

from ecrire.

ApostolosB avatar ApostolosB commented on September 21, 2024

Seriously improved in the last version of EFL (1.24.3).

nahhh. still takes ages to open a 3.6MB file.

from ecrire.

wltjr avatar wltjr commented on September 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.