Github user srowen commented on the issue:

    https://github.com/apache/spark/pull/22993
  
    @felixcheung the JVM flag would be something like `--add-opens 
java.base/java.lang=ALL-UNNAMED`. Everything should still work without it, it's 
just that this 'hack' no longer works to ignore `MaxDirectMemorySize`. That 
default appears to be equal to the size of the JVM heap, which isn't small, so 
also should work in many situations. For those apps that use a large amount of 
direct memory, another alternative is to set `-XX:MaxDirectMemorySize=` 
directly.
    
    I don't know of a better solution right now, and that one's not bad, but I 
will write up provisional release notes in the JIRA that explain this.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to