mapbox / mapbox/geojson.io

Crash (SIGILL) when uploading ~150 geoJSON files

Open
#1,021 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.3k
Forks
640
PR merge metrics
No merged PRs in 30d

Description

On Chrome Version 147.0.7727.116
OS: Ubuntu 24.04.4 LTS (Linux, x86_64)

Uploading 148 files totalling to 57.3 MB.

Imports most of the files, then I see this:

`Dataset too large for browser storage - changes will be lost on page refresh`

Without giving the exact dataset, I am wondering if this is related to the fact that there are files that contain polygons in distinct separate parts of the US.

Each file is a FeatureCollection with one multi-polygon feature, most files individually span continential-US-scale with hundreds of polygon parts, alongside smaller polygons in a single region. Let me know if there is more information needed here.

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.

Research direction

The report names no source file or test. Start by reproducing the upload in Chrome on Ubuntu with roughly 148 GeoJSON files totaling 57.3 MB, then trace the browser-storage limit and SIGILL conditions. Done means the large upload no longer crashes and its imported changes are not lost on refresh.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.