secondlife / secondlife/viewer

GLTFOverrides creates ever-expanding vocache

Open
#1,141 5 comments 0 reactions 1 assignee View on GitHub

@brad-linden is already working on this.

Since Apr 9, 2024.

bug team:viewer
Dominant language
C++
Stars
299
Forks
146
Avg merge
1d 9h
Merged PRs (30d)
88

Description

Environment

Any featurettes

Description

Beq Janus notes: In the current implementation of the vocache, the generic extras file has no extras support in killObject and has no pruning/delete functionality at all. As such, the overrides map just grows forever. Is working on a PR.

See details in the tpv slack channel.

Test Plan

Visit a region that uses many GLTF Overrides
wait until the entire scene is loaded
wander around for several minutes letting objects with overrides come into and out of your view and draw distance

Expected Behavior
the .slec files found in the viewer's object cache should not be continuing to grow without bound

  • found in ${HOME}/Library/Caches/SecondLife/objectcache/ on mac
  • found in %LOCALAPPDATA%\SecondLife\objectcache\ on windows

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.