SIGN IN SIGN UP

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>
N
Nelson Osacky committed
4414d9f4cd5601bee4c95f72a868b2c1ddff1f80
Parent: 30862fc
Committed by GitHub <noreply@github.com> on 7/2/2026, 8:27:25 AM