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 348284 - Switching workspaces causes massive memory use and thrashing
Switching workspaces causes massive memory use and thrashing
Status: RESOLVED INCOMPLETE
Product: gnome-panel
Classification: Other
Component: workspace switcher
2.14.x
Other All
: Normal critical
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-21 20:07 UTC by Chris Koresko
Modified: 2006-08-12 10:24 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Chris Koresko 2006-07-21 20:07:42 UTC
Please describe the problem:
Occasionally when I switch workspaces using the Workspace Switcher,
e.g., by rolling the mouse wheel when it has focus, something allocates
what looks like all available virtual memory.  I see my process
monitor's memory usage bar climb, and the disk gets very busy, to the
point where the machine is unusable for several minutes.  Eventually the
machine recovers, and the memory usage has become very small (maybe 20%
of the RAM is in use).  I suspect the recovery happens because the
runaway process exhausts all virtual memory and gets killed by the
kernel.  The machine is slow for a while after that, presumably because
the applications need to get swapped back into RAM.

This seems to happen mainly when two workspace manager applets are
loaded, e.g., one on the bottom panel and one on the top panel.  (N.B. I
like that arrangement, with the top panel set to be as large as possible
and to autohide.  That way the little one on the bottom is easy to use
to switch workspaces, while the big slide-out one is used occasionally
to drag windows between workspaces).


Steps to reproduce:
1. Launch GNOME
2. Set up two (or more?) workspace switchers on panels
3. Switch workspaces until machine thrashing starys


Actual results:
Thrash for a few minutes, then slow recovery as apps get swapped back
in


Expected results:
Nearly instantaneous workspace switching


Does this happen every time?
It happens every few minutes of messing with workspaces, when two or more Workspace Switchers are loaded


Other information:
Comment 1 Bob van Dam 2006-08-03 12:36:09 UTC
Tried to do this on ubuntu 6.06 (gnome 2.14.3) but coudn't make this bug appear.
Comment 2 Vincent Untz 2006-08-08 14:15:34 UTC
Chris: can you run top in terminals in each workspace and reproduce the bug to see what's happening?
Comment 3 Chris Koresko 2006-08-11 23:47:27 UTC
This behavior seems to have disappeared after a reboot.  I suspect it might have been caused by mismatched libraries after an upgrade.  Will post here again if it reappears.
Comment 4 Vincent Untz 2006-08-12 10:24:13 UTC
Thanks for the update.