CesiumGS / CesiumGS/cesium

Use cesiumjs ,has many PerformanceMeasure Object instance,make memory leak!

Open
#12,932 2 comments 0 reactions 0 assignees View on GitHub
category - memory/performance needs feedback type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

### What happened?

Hi,every one,

This type of image is a memory snapshot, showing the performance measure instance from the first time in the morning to the second time in the evening, increasing by about 100Mb, ultimately causing the browser page to crash.
I haven't used any performance related APIs in my business code. Is it possible that it's the built-in watchdog in cesiumjs that keeps creating instances?

Image

### Reproduction steps

### Sandcastle example

_No response_

### Environment

Browser:
CesiumJS Version:
Operating System:

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the memory growth with a CesiumJS Sandcastle example and browser memory snapshots, then determine whether CesiumJS creates the accumulating PerformanceMeasure instances. The issue provides no source file, test, browser, version, operating system, or reproduction; done would require a confirmed cause and evidence that the page no longer accumulates these instances.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.