Skip to content

Add memory guard to surface_distance geodesic dd_grid#1129

Merged
brendancol merged 4 commits into
masterfrom
issue-1128
Mar 31, 2026
Merged

Add memory guard to surface_distance geodesic dd_grid#1129
brendancol merged 4 commits into
masterfrom
issue-1128

Conversation

@brendancol
Copy link
Copy Markdown
Contributor

Summary

  • Add memory guard before allocating (n_neighbors, H, W) float64 dd_grid in _precompute_dd_grid (64 bytes/pixel for 8-connectivity)

Test plan

  • All 32 existing surface_distance 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 e792422 into master Mar 31, 2026
11 checks passed
@brendancol brendancol deleted the issue-1128 branch May 4, 2026 13:05
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