Commit 8efb6d0
authored
Add memory guard to erosion dask paths (#1121)
* Add sweep-performance design spec
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.
* Add sweep-performance implementation plan
7 tasks covering command scaffold, module scoring, parallel subagent
dispatch, report merging, ralph-loop generation, and smoke tests.
* Add sweep-performance slash command
* Add memory guard to erosion dask paths (#1120)
Particle erosion is inherently global and cannot be chunked. Add
_check_erosion_memory that estimates ~3x working set (input + brush
scratch + output) and raises MemoryError before .compute() when
the array won't fit in available RAM.1 parent 1d60fbd commit 8efb6d0
1 file changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
335 | 355 | | |
336 | 356 | | |
337 | 357 | | |
338 | 358 | | |
339 | 359 | | |
340 | 360 | | |
| 361 | + | |
341 | 362 | | |
342 | 363 | | |
343 | 364 | | |
| |||
349 | 370 | | |
350 | 371 | | |
351 | 372 | | |
| 373 | + | |
352 | 374 | | |
353 | 375 | | |
354 | 376 | | |
| |||
0 commit comments