Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 1147076

Summary: Increased memory usage when calling setStyleSheet()
Product: Red Hat Enterprise Linux 5 Reporter: Dave Johansen <davejohansen>
Component: qtAssignee: Jan Grulich <jgrulich>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.6CC: than
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-18 22:04:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Reproducer that calls setStyleSheet() and shows increased memory usage none

Description Dave Johansen 2014-09-26 20:08:20 UTC
Created attachment 941700 [details]
Reproducer that calls setStyleSheet() and shows increased memory usage

Description of problem:
Calling setStyleSheet() increases the memory use of the application because the previous style sheet is still kept.

Version-Release number of selected component (if applicable):
4.2.1

How reproducible:
Always.

Steps to Reproduce:
1. Build attached reproducer
2. Run ./test_stylesheet
3. Observe increased memory usage (i.e top -b | grep test_stylesheet)

Actual results:
Memory usage continuously increases.

Expected results:
Memory usage should stay relatively constant.

Additional info:
Running the same test on RHEL 6 (Qt 4.6) does not show increased memory usage.

Comment 2 Chris Williams 2017-04-18 22:04:16 UTC
Red Hat Enterprise Linux 5 shipped it's last minor release, 5.11, on September 14th, 2014. On March 31st, 2017 RHEL 5 exited Production Phase 3 and entered Extended Life Phase. For RHEL releases in the Extended Life Phase, Red Hat  will provide limited ongoing technical support. No bug fixes, security fixes, hardware enablement or root-cause analysis will be available during this phase, and support will be provided on existing installations only.  If the customer purchases the Extended Life-cycle Support (ELS), certain critical-impact security fixes and selected urgent priority bug fixes for the last minor release will be provided.  For more details please consult the Red Hat Enterprise Linux Life Cycle Page:
https://access.redhat.com/support/policy/updates/errata

This BZ does not appear to meet ELS criteria so is being closed WONTFIX. If this BZ is critical for your environment and you have an Extended Life-cycle Support Add-on entitlement, please open a case in the Red Hat Customer Portal, https://access.redhat.com ,provide a thorough business justification and ask that the BZ be re-opened for consideration of an errata. Please note, only certain critical-impact security fixes and selected urgent priority bug fixes for the last minor release can be considered.