Java spylon内核(Jupyter笔记本的Scala内核)错误:编译:已禁用(没有足够的连续可用空间)

Java spylon内核(Jupyter笔记本的Scala内核)错误:编译:已禁用(没有足够的连续可用空间),java,scala,apache-spark,jupyter-notebook,Java,Scala,Apache Spark,Jupyter Notebook,在MacOSX上使用spylon内核(Jupyter笔记本的Scala内核)在Spark中训练模型后,我发现了以下错误 CodeCache: size=245760Kb used=230556Kb max_used=233036Kb free=15203Kb bounds [0x00000001176b8000, 0x00000001266b8000, 0x00000001266b8000] total_blobs=30250 nmethods=29053 adapters=1097 co

在MacOSX上使用spylon内核(Jupyter笔记本的Scala内核)在Spark中训练模型后,我发现了以下错误

CodeCache: size=245760Kb used=230556Kb max_used=233036Kb free=15203Kb
 bounds [0x00000001176b8000, 0x00000001266b8000, 0x00000001266b8000]
 total_blobs=30250 nmethods=29053 adapters=1097
 compilation: disabled (not enough contiguous free space left)
根据页面“https://confluence.atlassian.com/confkb/confluence-crashes-due-to-codecache-is-full-compiler-has-been-disabled-780864803.html“通过更改Java启动选项的参数,可以解决此错误

-XX:ReservedCodeCacheSize=384m
-XX:+UseCodeCacheFlushing
请说明如何在Mac OS X上更改Java启动选项的参数

CodeCache: size=245760Kb used=230556Kb max_used=233036Kb free=15203Kb
 bounds [0x00000001176b8000, 0x00000001266b8000, 0x00000001266b8000]
 total_blobs=30250 nmethods=29053 adapters=1097
 compilation: disabled (not enough contiguous free space left)
更新日期:2020年10月24日 修正了将浏览器更改为Chrome后的问题