Commit 4414d9f
build: Remove global per-test JVM heap cap (#5671)
* build: Remove global per-test JVM heap cap
The minHeapSize/maxHeapSize cap in the root build.gradle.kts was applied
to every module's test task. Most modules do not need it, so remove it
and let tests use the JVM defaults. If a specific module turns out to
require a larger heap, the cap can be re-added to that module only.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* build: Restore per-test heap cap for sentry-android-core
CI showed :sentry-android-core:testReleaseUnitTest fails with
OutOfMemoryError (Robolectric loading the android-all jar) once the
global cap is removed. Restore the 256m/2g cap for this module only,
where it is actually needed.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* build: Drop stale comment about root build.gradle.kts
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 30862fc commit 4414d9f
2 files changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | 106 | | |
111 | 107 | | |
112 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
| |||
0 commit comments