Memory leak when running Unity8 on the emulator

Bug #1294373 reported by Ricardo Salveti
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Using emulator with the following build:

current build number: 244
device name: generic
channel: ubuntu-touch/devel-proposed
alias: ubuntu-touch/trusty-proposed
last update: 2014-03-18 14:56:03
version version: 244
version ubuntu: 20140318.1
version device: 20140304

It seems Unity8 leaks memory when rendering anything into the screen. If you boot and let the welcome screen running, you can easily follow the leak with a top, until OOM kicks in and kill unity8.

Revision history for this message
Michał Sawicz (saviq) wrote :

Indeed, wonder what's special about the emulator here...

Changed in unity8 (Ubuntu):
status: New → Confirmed
Revision history for this message
Michał Sawicz (saviq) wrote :

A simple qmlscene leaks, too (obviously slower), see for example:

Rectangle {
  gradient: Gradient {
      GradientStop {
          position: 0.0
          SequentialAnimation on color {
              loops: Animation.Infinite
              ColorAnimation { from: "DeepSkyBlue"; to: "#0E1533"; duration: 5000 }
              ColorAnimation { from: "#0E1533"; to: "DeepSkyBlue"; duration: 5000 }
          }
      }
      GradientStop {
          position: 1.0
          SequentialAnimation on color {
              loops: Animation.Infinite
              ColorAnimation { from: "SkyBlue"; to: "#437284"; duration: 5000 }
              ColorAnimation { from: "#437284"; to: "SkyBlue"; duration: 5000 }
          }
      }
  }
}

Revision history for this message
Michał Sawicz (saviq) wrote :

Not sure where to assign this bug... since it's obviously not unity8-specific, maybe we should check if it still happens with 5.3?

Revision history for this message
Michael Zanetti (mzanetti) wrote :

This has most likely been fixed a while ago when we fixed that leak in "everything". Riccardo, can you confirm this is still the case?

Changed in unity8 (Ubuntu):
status: Confirmed → Incomplete
assignee: nobody → Ricardo Salveti (rsalveti)
Changed in unity8 (Ubuntu):
assignee: Ricardo Salveti (rsalveti) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for unity8 (Ubuntu) because there has been no activity for 60 days.]

Changed in unity8 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.