← Back to team overview

desktop-packages team mailing list archive

[Bug 156201] Re: gedit handles opening big files badly

 

I have noticed this bug.  I have a 5MB document with very long lines.
Each line is approximately a million characters wide.

If you view it with word wrap OFF then the computer becomes very
unresponsive.  Scrolling the scrollbars particularly hangs the computer
for a long time.

I'm on gedit 2.30.4.  I'm using a 15GB machine so manipulating a 5MB
text file should not be causing it to sweat.

I've attached an example file that causes the problem.  Make sure you
view it with text wrap off.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/156201

Title:
  gedit handles opening big files badly

Status in Light-Weight Text Editor for Gnome:
  Confirmed
Status in “gedit” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: gedit

  Opening big text files (400 MB, 750 MB) in gedit is bad
  - from a usability standpoint
    -> There's no progress bar or cancel button for the action, and the load takes a long time.
  - from a system standpoint:
    -> In earlier versions, gedit would take so much memory until the system swapped all other applications to disk, and the system became unusable.
    -> Since Ubuntu 9.04 Beta, gedit crashes without a GUI message, but the message "failed to allocate <X> bytes" in the console.


  
  Original description:
  I just opened a 400 MB text file (mbox mail file) in gedit, and it my system has now been unresponsive for minutes. Other editors can open large files without a problem. Also, there's no progress bar or cancel button that would make it easy to see how long gedit is loading the file or to cancel the load.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/156201/+subscriptions