[GH] Explicitly specify MaxMetaspaceSize for playground

## Proposed Changes

Due to https://github.com/gradle/gradle/issues/19750 Gradle doesn't set a default
value for MaxMetaspaceSize when org.gradle.jvmargs is set and the JVM 8 default is
unbounded. This sets it explicitly to the default value defined in https://github.com/gradle/gradle/blob/6ccf8a2cc74c8060992bd36189dec929143caed7/subprojects/launcher/src/main/java/org/gradle/launcher/daemon/configuration/DaemonParameters.java#L39

## Testing

Test: None

## Issues Fixed

Daemon disappearing in CI

This is an imported pull request from https://github.com/androidx/androidx/pull/331.

Resolves #331
Github-Pr-Head-Sha: 9af0a74e0c3be1f5832241e786b2b93bd4344b7c
GitOrigin-RevId: 5ec9a52b768a3f9f24d4c25c4256fb6a8bbf4e9a
Change-Id: I669a8761fddee8fe4b1fb0c6e698256bd907612d
diff --git a/playground-common/androidx-shared.properties b/playground-common/androidx-shared.properties
index 415b6fb..13e99b2b 100644
--- a/playground-common/androidx-shared.properties
+++ b/playground-common/androidx-shared.properties
@@ -24,7 +24,7 @@
 # This separation is necessary to ensure gradle can read certain properties
 # at configuration time.
 
-org.gradle.jvmargs=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -Dkotlin.daemon.jvm.options=-XX:MaxMetaspaceSize=1g -Dlint.nullness.ignore-deprecated=true
+org.gradle.jvmargs=-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -XX:MaxMetaspaceSize=512m -Dkotlin.daemon.jvm.options=-XX:MaxMetaspaceSize=1g -Dlint.nullness.ignore-deprecated=true
 android.useAndroidX=true
 # Disable features we do not use
 android.defaults.buildfeatures.aidl=false