After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 691360 - Anjuta takes a long time to load
Anjuta takes a long time to load
Status: RESOLVED OBSOLETE
Product: gdl
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2013-01-08 20:22 UTC by Sébastien Granjoux
Modified: 2021-06-19 08:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sébastien Granjoux 2013-01-08 20:22:17 UTC
From time to time, Anjuta takes a very long time to load.

It's due to the saved GDL layout: dock-layout.xml which is a 11MB file containing something like:

<?xml version="1.0"?>
<dock-layout><layout name="__default__"><dock floating="yes" width="200" height="200" floatx="0" floaty="27" skip-taskbar="yes"/><dock floating="yes" width="200" height="200" floatx="0" floaty="27" skip-taskbar="yes"/><dock floating="yes" width="200" height="200" floatx="0" floaty="27" skip-taskbar="yes"/><dock floating="yes" width="200" height="200" floatx="0" floaty="27" skip-taskbar="yes"/> ... <dock name="__dock_1" floating="no" width="-1" height="-1" floatx="0" floaty="0" skip-taskbar="yes"><paned orientation="vertical" locked="no" iconified="no" closed="no" position="694"><paned orientation="horizontal" locked="no" iconified="no" closed="no" position="226"><notebook orientation="vertical" locked="no" iconified="no" closed="no" page="6"><item name="AnjutaFileManager" orientation="vertical" locked="no" iconified="no" closed="no"/><item name="AnjutaProjectManager" orientation="vertical" locked="no" iconified="no" closed="no"/><item name="AnjutaSymbolBrowser" orientation="horizontal" locked="no" iconified="no" closed="yes"/><item name="AnjutaDevhelpIndex" orientation="horizontal" locked="no" iconified="no" closed="yes"/><item name="AnjutaGladeTree" orientation="horizontal" locked="no" iconified="no" closed="yes"/><item name="AnjutaGladePalette" orientation="horizontal" locked="no" iconified="no" closed="yes"/><item name="AnjutaSymbolDB" orientation="vertical" locked="no" iconified="no" closed="no"/><item name="AnjutaDebuggerRegisters" orientation="horizontal" locked="no" iconified="no" closed="yes"/><item name="GitCommandBar" orientation="vertical" locked="no" iconified="no" closed="yes"/></notebook><paned orientation="horizontal" locked="no" iconified="no" closed="no" position="500"><paned orientation="vertical" locked="no" iconified="no" closed="no" position="200"><notebook orientation="vertical" locked="no" iconified="no" closed="yes" page="-1"/><notebook orientation="vertical" locked="no" iconified="no" closed="no" page="1"><item name="AnjutaStarter" orientation="vertical" locked="no" iconified="no" closed="yes"/><item name="AnjutaDocumentManager" orientation="vertical" locked="no" iconified="no" closed="no"/><item name="AnjutaDevhelpDisplay" orientation="horizontal" locked="no" iconified="no" closed="yes"/><item name="AnjutaTodoPlugin" orientation="horizontal" locked="no" iconified="no" closed="yes"/><item name="AnjutaClassInheritance" orientation="horizontal" locked="no" iconified="no" closed="yes"/><item name="AnjutaSamplePlugin" orientation="horizontal" locked="no" iconified="no" closed="yes"/><item name="AnjutaGladeEditor" orientation="horizontal" locked="no" iconified="no" closed="yes"/><item name="AnjutaSubversionLogViewer" orientation="horizontal" locked="no" iconified="no" closed="yes"/><item name="AnjutaDebuggerMemory" orientation="horizontal" locked="no" iconified="no" closed="yes"/><item name="GitDock" orientation="vertical" locked="no" iconified="no" closed="no"/></notebook></paned><notebook orientation="vertical" locked="no" iconified="no" closed="yes" page="-1"/></paned></paned><notebook orientation="vertical" locked="no" iconified="no" closed="no" page="2"><item name="AnjutaTerminal" orientation="vertical" locked="no" iconified="no" closed="no"/><item name="AnjutaDebuggerWatch" orientation="vertical" locked="no" iconified="no" closed="yes"/><item name="AnjutaDebuggerBreakpoints" orientation="vertical" locked="no" iconified="no" closed="no"/><item name="AnjutaDebuggerLocals" orientation="horizontal" locked="no" iconified="no" closed="yes"/><item name="AnjutaDebuggerStack" orientation="horizontal" locked="no" iconified="no" closed="yes"/><item name="AnjutaMessageView" orientation="vertical" locked="no" iconified="no" closed="yes"/></notebook></paned></dock></layout></dock-layout>
Comment 1 Sébastien Granjoux 2013-09-24 19:45:57 UTC
Another report of this issue

Suddently(*), anjuta become very slow (starting empty of project was fine) :
Few minutes to open a project (at gdb step), at this point memory usage increase near 2go, cpu-core-1 100%.
An then toke a few minutes for a lot of actions and 'state' (switch panel file/symbol/callstack/... , right click on a value there, going to a breackpoint, closing segfault dialog, switching opened file, positioning cursor... but editing and tracing was 'fine') with in between a massive usage of cpu.

Was very boring!

--------------------------------------------------
(*) - Sorry don't know exactly what i did before, maybe i have open another big project, synfig-core, i'm more working on synfig-studio (ui)
--------------------------------------------------

Desactivating symbol analyse (and remove .anjuta_sym_db.db in the project folder) and completion did'nt solve that.

Finnaly i have solved by removing :
---------------------------------------------
/home/user/.cache/anjuta/session/anjuta.session
/home/user/.cache/anjuta/session/dock-layout.xml (was a few Mo !)
/home/user/.cache/anjuta/.anjuta_sym_db.db
/home/user/Code/MyProject/.anjuta/session/anjuta.session
/home/user/Code/MyProject/.anjuta/session/dock-layout.xml (was a few Mo !)
/home/user/Code/MyProject/.anjuta_sym_db.db

Debian Wheezy / Anjuta 3.8.4

see(ya:!
Comment 2 André Klapper 2021-06-19 08:57:43 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of gdl, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gdl/-/issues/

Thank you for your understanding and your help.