Bug 100793 - Excessive memory usage with default tcltk packages
Excessive memory usage with default tcltk packages
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: tcltk (Show other bugs)
9
i386 Linux
high Severity high
: ---
: ---
Assigned To: Jens Petersen
Bill Huang
:
: 128746 (view as bug list)
Depends On:
Blocks: 113746
  Show dependency treegraph
 
Reported: 2003-07-25 11:26 EDT by Richard Frederiksen
Modified: 2005-10-31 17:00 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-07-26 03:38:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Richard Frederiksen 2003-07-25 11:26:39 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314

Description of problem:
Excessive memory usage can occur when running  a tcltk app with the version of
tcltk installed by default on Redhat 9.

We've seen increases in memory usage for some of our tcltk apps of two orders of
magnitude (8MB to 800MB). In some cases the excessive use of swap space makes
the machine essentially unresponsive.

If we uninstall the default tcltk packages (rpm --erase) and reinstall the same
version of tcltk from tarballs, the memory usage returns to normal.

This website has a possible explanation of the problem
(http://www.interlink.com.au/anthony/tech/rh9-tcltk/).

Version-Release number of selected component (if applicable):
tcltk-8.3.5-88

How reproducible:
Always

Steps to Reproduce:
1. Run a medium size tcltk app with the default tcltk rpms
2. Now remove the default rpms and run the app with tcltk installed from tarballs
3. Memory usage can differ by as much as two orders of magnitude.
    

Actual Results:  Memory usage increases by up to two orders of magnitude with
default tcltk rpms.

Expected Results:  Only a small change in memory usage.

Additional info:
Comment 1 Jens Petersen 2003-07-26 03:38:17 EDT
Thanks for the report.  Yes, I think this is currently "fixed" in rawhide
since I reverted the change to ucs4 there for the time being.

[This change was made rather late in the RHL9 development cycle for compatibility
with python through tkinter.  However it seems to have done more damage than
good. :-(  It seems we were mistaken in thinking Tcl/Tk could be configured easily
for ucs4...]
Comment 2 Jens Petersen 2004-08-13 08:31:16 EDT
*** Bug 128746 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.