Uploaded image for project: 'Snowstorm'
  1. Snowstorm
  2. STORM-166

Memory leak in LLSelectNode::LLSelectNode (92 bytes per prim per interaction)

    Details

    • Type: Defect
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Sprint 6, Viewer 2.3.0
    • Labels:
      None
    • Environment:
      Snowglobe 2.0 from svn trunk (as of r3341),
      viewer-external as of same revision (so SecondLife 2.0.1 as well)
    • Patch attached:
      Patch attached

      Description

      One of the LLSelectNode constructors has a leak where it does "new LLPermisions()" twice, thus leaking the address of the first object created.

      This constructor is called every time you interact (click, hover, select, possibly other) with an object, once for each prim in the object. Since sizeof(LLPermissions) is 92 bytes, this can be a significant amount after a while.

      I think this might explain VWR-18528 (leaking LLpemissions instances), at least partially.

      This was fixed in snowglobe 1.x as part of SNOW-267.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                thickbrick.sleaford Thickbrick Sleaford
                Extended Group Visibility:
                jira-users
                Prod Owner Approved:
                Merov Linden
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour Time Not Required
                  1h