Commit 1b6c859
committed
Improve Orca memory troubleshooting for capped total memory
When an Orca job fails due to insufficient memory and hits a total memory limit, ARC now attempts to resolve the issue by reducing the number of CPU cores to increase the memory available per core.
- Added logic to calculate the maximum feasible CPU cores that fit within the total memory cap while meeting Orca's per-core requirements.
- Ensures at least one core is utilized if viable, rather than failing the troubleshooting step.
- Prevents recalculating/inflating total memory when it is already constrained by a cap.
- Adjusted the conservative memory buffer added during total memory estimation from 5 GB to 3 GB.
.1 parent 80cb544 commit 1b6c859
2 files changed
Lines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1028 | 1028 | | |
1029 | 1029 | | |
1030 | 1030 | | |
1031 | | - | |
1032 | | - | |
1033 | | - | |
| 1031 | + | |
| 1032 | + | |
1034 | 1033 | | |
1035 | 1034 | | |
| 1035 | + | |
| 1036 | + | |
1036 | 1037 | | |
1037 | 1038 | | |
1038 | 1039 | | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
1039 | 1043 | | |
1040 | 1044 | | |
1041 | 1045 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
680 | | - | |
| 680 | + | |
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
| |||
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
700 | | - | |
701 | | - | |
| 700 | + | |
| 701 | + | |
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
| |||
0 commit comments