mapbox / mapbox/rio-cloudmask

Reduce memory footprint

Open
#13 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
55
Forks
12
PR merge metrics
No merged PRs in 30d

Description

There are a few global operations (scene-wide quantiles, others?) that preclude a simplistic block iteration approach. But we should be able to trade a bit of speed, maybe doing two passes, in order to reduce the memory footprint which is upwards of 5+ GB. We should profile memory usage and think of some ways to reduce it.

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

No files or tests are named. Start by profiling the scene-wide operations and their memory use, then investigate whether two-pass or block-based processing can reduce the footprint; done means demonstrating lower memory usage while preserving results and accepting only the intended speed tradeoff.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.