hud memory usage grows over time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hud (Ubuntu) |
Fix Released
|
Undecided
|
Pete Woods |
Bug Description
After five days of uptime hud-service used 749 MB of RAM.
Restarting hud-service drops it memory usage to about 100-150 MB, on the next day it's using already 227 MB of RAM.
I'm using Ubuntu 13.10 for developing Qt-based application. Most of the time following applications started and used:
Qt Creator, Qt Linguist, Qt Designer;
gnome-terminal;
gitk, git gui, cmake-gui;
Firefox;
Pidgin.
In the tray there are:
System Load Indicator,
Nagstamon (v0.9.11 from official site),
shutter,
remmina.
Also I use Yandex.Music and Grooveshark web-apps.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: hud 13.10.1+
ProcVersionSign
Uname: Linux 3.8.0-32-generic x86_64
NonfreeKernelMo
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Thu Nov 21 14:29:59 2013
InstallationDate: Installed on 2013-10-16 (35 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: hud
UpgradeStatus: Upgraded to saucy on 2013-11-07 (13 days ago)
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Marcus Tomlinson (community): Approve
-
Diff: 42018 lines (+14618/-24877)285 files modified.bzrignore (+2/-0)
CMakeLists.txt (+44/-41)
build.sh (+1/-0)
cmake/Coverage.cmake (+5/-2)
cmake/FindGMock.cmake (+10/-0)
cmake/FindValgrind.cmake (+34/-0)
cmake/UseGObjectIntrospection.cmake (+1/-0)
common/Action.cpp (+55/-0)
common/Action.h (+58/-0)
common/ActionGroup.cpp (+56/-0)
common/ActionGroup.h (+58/-0)
common/AppstackModel.cpp (+68/-0)
common/AppstackModel.h (+50/-0)
common/CMakeLists.txt (+60/-0)
common/DBusTypes.cpp (+67/-0)
common/DBusTypes.h (+77/-0)
common/Description.cpp (+56/-0)
common/Description.h (+56/-0)
common/HudDee.cpp (+78/-0)
common/HudDee.h (+59/-0)
common/MenuModel.cpp (+54/-0)
common/MenuModel.h (+56/-0)
common/NameObject.cpp (+77/-0)
common/NameObject.h (+62/-0)
common/ResultsModel.cpp (+86/-0)
common/ResultsModel.h (+49/-0)
common/Suggestion.cpp (+142/-0)
common/Suggestion.h (+76/-0)
common/WindowInfo.cpp (+63/-0)
common/WindowInfo.h (+64/-0)
common/query-columns.h (+21/-2)
data/CMakeLists.txt (+11/-2)
data/com.canonical.AppMenu.Registrar.xml (+68/-0)
data/com.canonical.Unity.WindowStack.xml (+1/-1)
data/com.canonical.hud.Application.xml (+8/-2)
data/com.canonical.hud.query.xml (+2/-0)
data/com.canonical.hud.xml (+6/-1)
data/hud-gui.desktop (+12/-0)
debian/control (+18/-21)
debian/hud-tools.install (+1/-0)
debian/libhud-client2.symbols (+31/-0)
debian/rules (+1/-1)
docs/libhud-client/CMakeLists.txt (+5/-1)
libhud-client/CMakeLists.txt (+25/-6)
libhud-client/HudClient.cpp (+356/-0)
libhud-client/HudClient.h (+104/-0)
libhud-client/HudToolbarModel.cpp (+103/-0)
libhud-client/HudToolbarModel.h (+53/-0)
libhud-client/action-muxer.c (+9/-6)
libhud-client/connection.c (+7/-7)
libhud-client/connection.h (+2/-2)
libhud-client/param.c (+38/-10)
libhud-client/param.h (+1/-0)
libhud-client/query.c (+19/-38)
libhud-client/query.h (+1/-17)
libhud-client/toolbar-items.h (+42/-0)
libhud/CMakeLists.txt (+8/-4)
libhud/action-publisher.c (+20/-18)
libhud/manager.c (+13/-13)
libqtgmenu/CMakeLists.txt (+26/-0)
libqtgmenu/QtGMenuExporter.cpp (+43/-0)
libqtgmenu/QtGMenuExporter.h (+52/-0)
libqtgmenu/QtGMenuImporter.cpp (+60/-0)
libqtgmenu/QtGMenuImporter.h (+74/-0)
libqtgmenu/internal/CMakeLists.txt (+28/-0)
libqtgmenu/internal/QtGActionGroup.cpp (+221/-0)
libqtgmenu/internal/QtGActionGroup.h (+79/-0)
libqtgmenu/internal/QtGMenuImporterPrivate.cpp (+288/-0)
libqtgmenu/internal/QtGMenuImporterPrivate.h (+88/-0)
libqtgmenu/internal/QtGMenuModel.cpp (+517/-0)
libqtgmenu/internal/QtGMenuModel.h (+120/-0)
libqtgmenu/internal/QtGMenuUtils.cpp (+229/-0)
libqtgmenu/internal/QtGMenuUtils.h (+41/-0)
service/Application.cpp (+30/-0)
service/Application.h (+61/-0)
service/ApplicationImpl.cpp (+190/-0)
service/ApplicationImpl.h (+109/-0)
service/ApplicationList.cpp (+27/-0)
service/ApplicationList.h (+60/-0)
service/ApplicationListImpl.cpp (+190/-0)
service/ApplicationListImpl.h (+90/-0)
service/CMakeLists.txt (+119/-0)
service/Collector.cpp (+43/-0)
service/Collector.h (+81/-0)
service/DBusMenuCollector.cpp (+156/-0)
service/DBusMenuCollector.h (+81/-0)
service/Factory.cpp (+152/-0)
service/Factory.h (+106/-0)
service/GMenuCollector.cpp (+74/-0)
service/GMenuCollector.h (+73/-0)
service/GMenuWindowCollector.cpp (+97/-0)
service/GMenuWindowCollector.h (+79/-0)
service/HudService.cpp (+29/-0)
service/HudService.h (+49/-0)
service/HudServiceImpl.cpp (+160/-0)
service/HudServiceImpl.h (+97/-0)
service/Item.cpp (+78/-0)
service/Item.h (+52/-0)
service/ItemStore.cpp (+308/-0)
service/ItemStore.h (+94/-0)
service/Query.cpp (+28/-0)
service/Query.h (+71/-0)
service/QueryImpl.cpp (+257/-0)
service/QueryImpl.h (+121/-0)
service/Result.cpp (+70/-0)
service/Result.h (+79/-0)
service/Voice.cpp (+27/-0)
service/Voice.h (+54/-0)
service/VoiceImpl.cpp (+76/-0)
service/VoiceImpl.h (+52/-0)
service/Window.cpp (+33/-0)
service/Window.h (+74/-0)
service/WindowContext.cpp (+27/-0)
service/WindowContext.h (+83/-0)
service/WindowContextImpl.cpp (+55/-0)
service/WindowContextImpl.h (+59/-0)
service/WindowImpl.cpp (+122/-0)
service/WindowImpl.h (+97/-0)
service/main.cpp (+53/-0)
src/CMakeLists.txt (+0/-219)
src/appindicator-source.c (+0/-492)
src/appindicator-source.h (+0/-41)
src/application-list.c (+0/-697)
src/application-list.h (+0/-64)
src/application-source-context.c (+0/-431)
src/application-source-context.h (+0/-73)
src/application-source.c (+0/-1017)
src/application-source.h (+0/-80)
src/appmenu-registrar.c (+0/-519)
src/appmenu-registrar.h (+0/-53)
src/create-db.h (+0/-4)
src/create-db.sql (+0/-2)
src/dbusmenu-collector.c (+0/-888)
src/dbusmenu-collector.h (+0/-53)
src/debug-source.c (+0/-208)
src/debug-source.h (+0/-36)
src/dump-app-info.c (+0/-174)
src/dump-app-info.h (+0/-30)
src/enum-types.c.in (+0/-107)
src/enum-types.h.in (+0/-56)
src/hud-dump-application.c (+0/-73)
src/hud-list-applications (+0/-11)
src/hud-verify-app-info.c (+0/-104)
src/indicator-source.c (+0/-405)
src/indicator-source.h (+0/-37)
src/item.c (+0/-502)
src/item.h (+0/-105)
src/julius.c (+0/-634)
src/julius.h (+0/-50)
src/keyword-mapping.c (+0/-404)
src/keyword-mapping.h (+0/-52)
src/load-app-info.c (+0/-319)
src/load-app-info.h (+0/-30)
src/menumodel-collector.c (+0/-1492)
src/menumodel-collector.h (+0/-87)
src/pronounce-dict.c (+0/-288)
src/pronounce-dict.h (+0/-38)
src/query.c (+0/-1125)
src/query.h (+0/-60)
src/result.c (+0/-399)
src/result.h (+0/-48)
src/service.c (+0/-795)
src/settings.c (+0/-128)
src/settings.h (+0/-43)
src/source-list.c (+0/-255)
src/source-list.h (+0/-41)
src/source.c (+0/-328)
src/source.h (+0/-106)
src/sphinx.c (+0/-537)
src/sphinx.h (+0/-47)
src/string-list.c (+0/-312)
src/string-list.h (+0/-46)
src/token.c (+0/-426)
src/token.h (+0/-45)
src/usage-tracker.c (+0/-512)
src/usage-tracker.h (+0/-59)
src/voice.c (+0/-70)
src/voice.h (+0/-62)
src/watchdog.c (+0/-178)
src/watchdog.h (+0/-53)
src/webapp-source.c (+0/-481)
src/webapp-source.h (+0/-35)
src/window-info.c (+0/-147)
src/window-info.h (+0/-69)
tests/CMakeLists.txt (+64/-274)
tests/app-list-dummy.c (+0/-126)
tests/app-list-dummy.h (+0/-49)
tests/data/com.canonical.hud.test.xml (+12/-0)
tests/data/valgrind.suppression (+190/-0)
tests/gobject.suppression (+0/-72)
tests/hud-performance.c (+0/-92)
tests/integration/CMakeLists.txt (+35/-0)
tests/integration/TestHud.cpp (+429/-0)
tests/manual-source.c (+0/-206)
tests/manual-source.h (+0/-40)
tests/menus/CMakeLists.txt (+122/-0)
tests/menus/FakeTouchApplication.cpp (+179/-0)
tests/menus/FakeTouchApplication.h (+59/-0)
tests/menus/dbusmenu-json-loader.c (+2/-2)
tests/menus/test-libhud-application.cpp (+45/-0)
tests/menus/test-menu-input-model-shortcuts.c (+69/-32)
tests/random-source.c (+0/-272)
tests/random-source.h (+0/-49)
tests/run-under-xvfb.sh (+6/-0)
tests/test-app-indicator-source.c (+0/-328)
tests/test-application-list.c (+0/-316)
tests/test-application-source.c (+0/-302)
tests/test-bad-app-info.c (+0/-104)
tests/test-dbus-message-count-send-query (+0/-4)
tests/test-distance.c (+0/-288)
tests/test-huditem.c (+0/-117)
tests/test-indicator-source.c (+0/-198)
tests/test-keyword-mapping.c (+0/-199)
tests/test-load-app-info.c (+0/-86)
tests/test-menu-input.c (+0/-624)
tests/test-pronounce-dict-hashes.dic (+0/-7)
tests/test-pronounce-dict-htk.dic (+0/-3)
tests/test-pronounce-dict-lowercase.dic (+0/-3)
tests/test-pronounce-dict-semicolon.dic (+0/-7)
tests/test-pronounce-dict.c (+0/-149)
tests/test-result-highlighting.c (+0/-255)
tests/test-runner.sh (+0/-15)
tests/test-source.c (+0/-637)
tests/test-string-list.c (+0/-139)
tests/test-usage-db-ancient.c (+0/-43)
tests/test-usage-db-ancient.sql (+0/-7)
tests/test-usage-db-old.c (+0/-84)
tests/test-usage-db-old.sql (+0/-11)
tests/test-usage-db-simple.c (+0/-110)
tests/test-usage-db-simple.sql (+0/-11)
tests/test-usage-db-testapp.c (+0/-84)
tests/test-usage-dump-entries.sql (+0/-1)
tests/test-utils.c (+0/-643)
tests/test-utils.h (+0/-136)
tests/test-voice-sounds-play.sh (+0/-5)
tests/test-voice.c (+0/-412)
tests/test-watchdog.c (+0/-158)
tests/testapps/CMakeLists.txt (+1/-0)
tests/testapps/qtgmenu/CMakeLists.txt (+15/-0)
tests/testapps/qtgmenu/MainWindow.cpp (+28/-0)
tests/testapps/qtgmenu/MainWindow.h (+26/-0)
tests/testapps/qtgmenu/main.cpp (+36/-0)
tests/testutils/CMakeLists.txt (+36/-0)
tests/testutils/MockHudService.cpp (+119/-0)
tests/testutils/MockHudService.h (+66/-0)
tests/testutils/RawDBusTransformer.cpp (+81/-0)
tests/testutils/RawDBusTransformer.h (+47/-0)
tests/testutils/main.cpp (+40/-0)
tests/unit/CMakeLists.txt (+12/-0)
tests/unit/libhud-client/CMakeLists.txt (+33/-0)
tests/unit/libhud-client/TestConnection.cpp (+117/-104)
tests/unit/libhud-client/TestHudClient.cpp (+212/-0)
tests/unit/libhud-client/TestParam.cpp (+88/-70)
tests/unit/libhud-client/TestQuery.cpp (+401/-539)
tests/unit/libhud/CMakeLists.txt (+32/-0)
tests/unit/libhud/TestActionDescription.cpp (+85/-0)
tests/unit/libhud/TestActionPublisher.cpp (+221/-282)
tests/unit/libhud/TestManager.cpp (+202/-176)
tests/unit/qtgmenu/CMakeLists.txt (+34/-0)
tests/unit/qtgmenu/TestQtGMenu.cpp (+607/-0)
tests/unit/qtgmenu/main.cpp (+29/-0)
tests/unit/service/CMakeLists.txt (+35/-0)
tests/unit/service/Mocks.h (+166/-0)
tests/unit/service/TestApplication.cpp (+220/-0)
tests/unit/service/TestApplicationList.cpp (+241/-0)
tests/unit/service/TestHudService.cpp (+227/-0)
tests/unit/service/TestItemStore.cpp (+219/-0)
tests/unit/service/TestQuery.cpp (+196/-0)
tests/unit/service/TestVoice.cpp (+127/-0)
tests/unit/service/TestWindow.cpp (+258/-0)
tests/unit/window-stack-bridge/CMakeLists.txt (+36/-0)
tests/unit/window-stack-bridge/TestBamfWindowStack.cpp (+367/-0)
tests/unit/window-stack-bridge/TestPlatformApiWindowStack.cpp (+54/-0)
tests/word-list.h (+0/-364)
tools-vala/CMakeLists.txt (+2/-0)
tools/CMakeLists.txt (+10/-19)
tools/hud-pronounce-for-word.c (+0/-40)
window-stack-bridge/AbstractWindowStack.cpp (+8/-31)
window-stack-bridge/AbstractWindowStack.h (+3/-35)
window-stack-bridge/BamfWindowStack.cpp (+46/-22)
window-stack-bridge/BamfWindowStack.h (+11/-12)
window-stack-bridge/CMakeLists.txt (+6/-1)
window-stack-bridge/PlatformApiWindowStack.cpp (+4/-2)
window-stack-bridge/PlatformApiWindowStack.h (+2/-2)
window-stack-bridge/main.cpp (+1/-1)
Changed in hud (Ubuntu): | |
status: | Confirmed → Fix Committed |
assignee: | nobody → Pete Woods (pete-woods) |
Changed in hud (Ubuntu): | |
status: | Fix Committed → Fix Released |
@rutsky-vladimir
Thanks for the report!
Are you actually using HUD to search for actions and such?
Also, next time when you see hud-service consuming a lot of memory could you provide the information from /proc/$pid/status
You can get the value for $pid using ps. On my system for example I would get it by: x86_64- linux-gnu/ hud/hud- service
$ ps aux |grep hud-service
antti 2070 0.0 0.1 360484 9004 ? Ssl marras20 0:08 /usr/lib/
the $pid is the second value: 2070 for me, so
$ cat /proc/2070/status > status.txt
and attach the status.txt to this bug report.
Thanks!