I have some code to trace that now in lp:~mvo/software-center/inspect-
memleak:

Usually when I run it it looks roughly like this:
$ PYTHONPATH=. python tests/gtk3/test_memleak.py 2>/dev/null
inspecting SoftwareCenterAppGtk3._on_transaction_finished()
nr_objs: 58141 size: 125.5M res: 360.7M (32125 92337)
nr_objs: 58130 size: 134.6M res: 368.7M (34461 94395)

inspecting AppdetailsView.show_app()
nr_objs: 68067 size: 158.1M res: 1.5G (40470 398694)
nr_objs: 70589 size: 158.4M res: 1.5G (40538 399085)

inspecting LobbyView.on_db_reopen()
nr_objs: 74882 size: 204.6M res: 1.5G (52387 403115)
nr_objs: 76934 size: 208.5M res: 1.5G (53371 404030)

Inspecting PackageInfo.open()
nr_objs: 76897 size: 248.8M res: 1.5G (63685 405016)
nr_objs: 76932 size: 257.0M res: 1.6G (65794 407125)

inspecting purchaseview
nr_objs: 77873 size: 258.1M res: 1.6G (66077 409175)
nr_objs: 77873 size: 258.1M res: 1.6G (66078 409175)

inspecting SubcategoryViewGtk.set_subcategory()
nr_objs: 80540 size: 281.5M res: 1.9G (72072 501911)
nr_objs: 84246 size: 283.7M res: 1.9G (72632 502086)

But sometimes I see:
$ PYTHONPATH=. python tests/gtk3/test_memleak.py 2>/dev/null
...
Inspecting PackageInfo.open()
nr_objs: 75790 size: 247.5M res: 1.5G (63363 404718)
nr_objs: 76068 size: 296.3M res: 1.6G (75847 408977)
...

when all the other values look normal. So that seems to be a candidate
for closer inspection.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1003466

Title:
  Software Center Memory/Processor bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1003466/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to