-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-29159][BUILD] Increase ReservedCodeCacheSize to 1G #25836
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
``` 2019-09-18T20:49:23.5030586Z OpenJDK 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled. 2019-09-18T20:49:23.5032920Z OpenJDK 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize= 2019-09-18T20:49:23.5034959Z CodeCache: size=524288Kb used=521399Kb max_used=521423Kb free=2888Kb 2019-09-18T20:49:23.5035472Z bounds [0x00007fa62c000000, 0x00007fa64c000000, 0x00007fa64c000000] 2019-09-18T20:49:23.5035781Z total_blobs=156549 nmethods=155863 adapters=592 2019-09-18T20:49:23.5036090Z compilation: disabled (not enough contiguous free space left) ```
|
How do you think about this, @srowen ? |
|
We might consider I think it's fine to increase this too, though that's getting really large. I get that the Scala compiler may need a much bigger one than usual, but what I don't know is whether it's really just stale stuff in the cache anyway. |
|
Test build #110939 has finished for PR 25836 at commit
|
|
Test build #110941 has finished for PR 25836 at commit
|
|
Thank you for the opinion, @srowen . I'll take a look more. BTW, the Jenkins failed with the following. It looks irrelevant.
|
|
retest this please |
|
Test build #110957 has finished for PR 25836 at commit
|
|
@srowen . I took a look. Oracle Website is also inconsistent.
|
|
Thank you, @srowen and @HyukjinKwon . Since there is no other option, we had better merge this PR~ |
|
Thank you, @srowen and @HyukjinKwon . This PR also includes a document update. Users had better increase the value in Scala 2.12.10 from now. I'll merge this PR . |
wangyum
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Oh, thank you, @wangyum ! |
This PR aims to increase the JVM CodeCacheSize from 0.5G to 1G. After upgrading to `Scala 2.12.10`, the following is observed during building. ``` 2019-09-18T20:49:23.5030586Z OpenJDK 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled. 2019-09-18T20:49:23.5032920Z OpenJDK 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize= 2019-09-18T20:49:23.5034959Z CodeCache: size=524288Kb used=521399Kb max_used=521423Kb free=2888Kb 2019-09-18T20:49:23.5035472Z bounds [0x00007fa62c000000, 0x00007fa64c000000, 0x00007fa64c000000] 2019-09-18T20:49:23.5035781Z total_blobs=156549 nmethods=155863 adapters=592 2019-09-18T20:49:23.5036090Z compilation: disabled (not enough contiguous free space left) ``` No. Manually check the Jenkins or GitHub Action build log (which should not have the above). Closes #25836 from dongjoon-hyun/SPARK-CODE-CACHE-1G. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]> (cherry picked from commit 3bf43fb) Signed-off-by: Dongjoon Hyun <[email protected]>
|
Got it yeah looks like it's already on. This looks good. It may be why the PR builder is slower recently. |
|
Thank you, @srowen . Sorry for rushing this. |
|
I compile the master by |
|
Then, could you investigate the missed part, @MaxGekk ? |
What changes were proposed in this pull request?
This PR aims to increase the JVM CodeCacheSize from 0.5G to 1G.
Why are the changes needed?
After upgrading to
Scala 2.12.10, the following is observed during building.Does this PR introduce any user-facing change?
No.
How was this patch tested?
Manually check the Jenkins or GitHub Action build log (which should not have the above).