← Back to team overview

touch-packages team mailing list archive

[Bug 1420891] [NEW] Keyboard leaks memory when switching layouts

 

Public bug reported:

The external libraries used in the word engines are never cleaned up
when closed by the QPluginLoader, this results in the keyboard using an
additional 2-3mb of RAM every time the layout is switched.

Steps to reproduce

1. Enable multiple layouts

2. Switch between them repeatedly

Expected result

Memory usage should level off to a constant amount

Actual result

Memory usage continues increasing with every layout switch

** Affects: canonical-devices-system-image
     Importance: Undecided
         Status: New

** Affects: ubuntu-keyboard
     Importance: Critical
     Assignee: Michael Sheldon (michael-sheldon)
         Status: In Progress

** Affects: ubuntu-keyboard (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ubuntu-keyboard (Ubuntu RTM)
     Importance: Undecided
         Status: New

** Changed in: ubuntu-keyboard
       Status: New => Confirmed

** Changed in: ubuntu-keyboard
       Status: Confirmed => In Progress

** Changed in: ubuntu-keyboard
     Assignee: (unassigned) => Michael Sheldon (michael-sheldon)

** Changed in: ubuntu-keyboard
   Importance: Undecided => Critical

** Also affects: canonical-devices-system-image
   Importance: Undecided
       Status: New

** Also affects: ubuntu-keyboard (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: ubuntu-keyboard (Ubuntu RTM)
   Importance: Undecided
       Status: New

** Branch linked: lp:~michael-sheldon/ubuntu-keyboard/fix-wordengine-
leak

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-keyboard in Ubuntu.
https://bugs.launchpad.net/bugs/1420891

Title:
  Keyboard leaks memory when switching layouts

Status in the base for Ubuntu mobile products:
  New
Status in Ubuntu Keyboard:
  In Progress
Status in ubuntu-keyboard package in Ubuntu:
  New
Status in ubuntu-keyboard package in Ubuntu RTM:
  New

Bug description:
  The external libraries used in the word engines are never cleaned up
  when closed by the QPluginLoader, this results in the keyboard using
  an additional 2-3mb of RAM every time the layout is switched.

  Steps to reproduce

  1. Enable multiple layouts

  2. Switch between them repeatedly

  Expected result

  Memory usage should level off to a constant amount

  Actual result

  Memory usage continues increasing with every layout switch

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1420891/+subscriptions


Follow ups

References