CesiumGS / CesiumGS/cesium

KML file runs out of memory during load

Open
#3,067 1 comment 0 reactions 0 assignees View on GitHub
category - kml type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

The below file causes Chrome to run out of memory and fails to load, it looks like it may be caused by the batching code or polygon triangulation, but more debugging it needed. There are a huge number of points in some of the polygons.

[abc.kml.txt](https://github.com/AnalyticalGraphicsInc/cesium/files/12113/abc.kml.txt)

Originally reported [on the forum](https://groups.google.com/d/msg/cesium-dev/lh14L73bO1Q/INWR-bX5BwAJ)

Contributor guide

Open the contributing guide

Research direction

Start by loading the attached abc.kml.txt in Chrome and reproducing the out-of-memory failure. Investigate the batching code and polygon triangulation mentioned in the report, then verify that the file loads without exhausting memory while preserving the polygons.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
performance, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.