← Back to team overview

desktop-packages team mailing list archive

[Bug 887681] [NEW] memory leak in spell checker plugin

 

Public bug reported:

Spell checker plugin does not free resources after document is closed.

Steps to reproduce:

1. Open gedit
2. Enable spell checker plugin
3. Open document in gedit, notice that memory usage of gedit increased (by approx. 10 MB for me)
4. Close document, notice that memory usage is not decreased
5. Open the same document again, notice that memory usage of gedit increased again

After repeating steps 3-5 a couple of dozens times gedit consumes much
of RAM.

This also works if spellchecker is the only enabled plugin so this is
not an issue of another plugin. And if the spellchecker is disabled then
I unable to reproduce this behavior (after opening/closing about 50
files memory usage increased by just ~0.5 MB).

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gedit 3.2.1-0ubuntu2
ProcVersionSignature: Ubuntu 3.1.0-2.3-generic 3.1.0
Uname: Linux 3.1.0-2-generic i686
ApportVersion: 1.25-0ubuntu1
Architecture: i386
Date: Wed Nov  9 00:27:10 2011
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gedit-plugins (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 oneiric

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

Title:
  memory leak in spell checker plugin

Status in “gedit-plugins” package in Ubuntu:
  New

Bug description:
  Spell checker plugin does not free resources after document is closed.

  Steps to reproduce:

  1. Open gedit
  2. Enable spell checker plugin
  3. Open document in gedit, notice that memory usage of gedit increased (by approx. 10 MB for me)
  4. Close document, notice that memory usage is not decreased
  5. Open the same document again, notice that memory usage of gedit increased again

  After repeating steps 3-5 a couple of dozens times gedit consumes much
  of RAM.

  This also works if spellchecker is the only enabled plugin so this is
  not an issue of another plugin. And if the spellchecker is disabled
  then I unable to reproduce this behavior (after opening/closing about
  50 files memory usage increased by just ~0.5 MB).

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: gedit 3.2.1-0ubuntu2
  ProcVersionSignature: Ubuntu 3.1.0-2.3-generic 3.1.0
  Uname: Linux 3.1.0-2-generic i686
  ApportVersion: 1.25-0ubuntu1
  Architecture: i386
  Date: Wed Nov  9 00:27:10 2011
  InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
  SourcePackage: gedit
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit-plugins/+bug/887681/+subscriptions


Follow ups

References