dongjoon-hyun opened a new pull request, #36:
URL: https://github.com/apache/spark-kubernetes-operator/pull/36

   ### What changes were proposed in this pull request?
   
   This PR aims to increase `Gradle` JVM memory to `4g` like Spark repo.
   - 
https://docs.gradle.org/current/userguide/performance.html#increase_the_heap_size
   
   ### Why are the changes needed?
   
   Unlike CI, in the local build, Gradle Daemon is reused. The compilation is 
unstable like the following because the default Gradle JVM memory is 512MB.
   
   ```
   > Task :spark-operator:compileTestJava
   Note: 
/Users/dongjoon/APACHE/spark-kubernetes-operator/spark-operator/src/test/java/org/apache/spark/k8s/operator/metrics/healthcheck/SentinelManagerTest.java
 uses or overrides a deprecated API.
   Note: Recompile with -Xlint:deprecation for details.
   Note: Some input files use unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   OpenJDK 64-Bit Server VM warning: CodeCache is full. Compiler has been 
disabled.
   [1.372s][warning][codecache] CodeCache is full. Compiler has been disabled.
   OpenJDK 64-Bit Server VM warning: Try increasing the code cache size using 
-XX:ReservedCodeCacheSize=
   [1.372s][warning][codecache] Try increasing the code cache size using 
-XX:ReservedCodeCacheSize=
   CodeCache: size=2944Kb used=2943Kb max_used=2943Kb free=0Kb
    bounds [0x0000000105004000, 0x00000001052e4000, 0x00000001052e4000]
    total_blobs=1102 nmethods=464 adapters=554
    compilation: disabled (not enough contiguous free space left)
                 stopped_count=1, restarted_count=0
    full_count=1 
   ```
   
   ### Does this PR introduce _any_ user-facing change?
   <!--
   Note that it means *any* user-facing change including all aspects such as 
the documentation fix.
   If yes, please clarify the previous behavior and the change this PR proposes 
- provide the console output, description and/or an example to show the 
behavior difference if possible.
   If possible, please also clarify if this is a user-facing change compared to 
the released Spark versions or within the unreleased branches such as master.
   If no, write 'No'.
   -->
   
   
   ### How was this patch tested?
   <!--
   If tests were added, say they were added here. Please make sure to add some 
test cases that check the changes thoroughly including negative and positive 
cases if possible.
   If it was tested in a way different from regular unit tests, please clarify 
how you tested step by step, ideally copy and paste-able, so that other 
reviewers can test and check, and descendants can verify in the future.
   If tests were not added, please describe why they were not added and/or why 
it was difficult to add.
   If benchmark tests were added, please run the benchmarks in GitHub Actions 
for the consistent environment, and the instructions could accord to: 
https://spark.apache.org/developer-tools.html#github-workflow-benchmarks.
   -->
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   <!--
   If generative AI tooling has been used in the process of authoring this 
patch, please include the
   phrase: 'Generated-by: ' followed by the name of the tool and its version.
   If no, write 'No'.
   Please refer to the [ASF Generative Tooling 
Guidance](https://www.apache.org/legal/generative-tooling.html) for details.
   -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to