Skip to content

Add memory guard to dasymetric validate_disaggregation#1127

Merged
brendancol merged 4 commits intomasterfrom
issue-1126
Mar 31, 2026
Merged

Add memory guard to dasymetric validate_disaggregation#1127
brendancol merged 4 commits intomasterfrom
issue-1126

Conversation

@brendancol
Copy link
Copy Markdown
Contributor

Summary

  • Add memory guard before _to_numpy() calls in validate_disaggregation that checks if materializing both result and zones arrays would exceed 80% of available RAM

Test plan

  • All 53 existing dasymetric tests pass (verified)

Parallel subagent triage + ralph-loop workflow for auditing all
xrspatial modules for performance bottlenecks, OOM risk under
30TB dask workloads, and backend-specific anti-patterns.
7 tasks covering command scaffold, module scoring, parallel subagent
dispatch, report merging, ralph-loop generation, and smoke tests.
@github-actions github-actions bot added the performance PR touches performance-sensitive code label Mar 31, 2026
@brendancol brendancol merged commit 93f59b7 into master Mar 31, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance PR touches performance-sensitive code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant