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

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

    XMLWordPrintableJSON

Details

    • Defect
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • Sprint 6, Viewer 2.3.0
    • None
    • Snowglobe 2.0 from svn trunk (as of r3341),
      viewer-external as of same revision (so SecondLife 2.0.1 as well)
    • 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

              Unassigned Unassigned
              thickbrick.sleaford Thickbrick Sleaford
              jira-users
              Merov Linden 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