On Sat, 23 Jul 2016 21:43:07 -0600 Chris Murphy lists@colorremedies.com wrote:
I'm having myriad problems with gedit and large text files. OK 81MB isn't really that large, it should be able to handle that without this much difficulty.
First, it takes a long time to open, more than a minute, and this is on an SSD. Next, it's doing some processing for a really long time after it loads the document, about 5-6 minutes, while the process consumes 100% CPU and the fans start running on high like I'm blowing my hair dry rather than reading a document.
But the actual problem is, at some point I click out of gedit, then back into gedit, and somehow the white background becomes black. So it's a sea of black text on a black background and thus totally useless.
Can anyone else reproduce this?
https://bugzilla.redhat.com/show_bug.cgi?id=1359476
I don't think there's anything magical about it being 81M. I don't have this problem though with smaller files in the 1MB or less range. I just don't know at what threshold it becomes a problem.
I don't normally use gedit, but I fired it up on a text file that is about 118 MB. It quickly shows the initial screen, but then seems to lock up the screen. When I look in top, it's using 100% of one CPU. But it isn't really using a lot of memory. The text shows as white on a black background. When I switch to a different workspace and back, the screen is completely black until I move the mouse, then it shows up as white on black. I see that there is a progress bar at the top of the screen, and it is moving very slowly, about the rate you reported.
So, yes, it appears that if I was using gedit I would have the problem also.