Skip to content
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

"Java side is empty" masks OOM issue #686

Open
moradology opened this issue Oct 2, 2018 · 0 comments
Open

"Java side is empty" masks OOM issue #686

moradology opened this issue Oct 2, 2018 · 0 comments

Comments

@moradology
Copy link

Running the README example, I've seeing the following error:

File "/usr/local/spark-2.1.0-bin-hadoop2.7/python/lib/py4j-0.10.4-src.zip/py4j/java_gateway.py", line 1035, in send_command
    raise Py4JNetworkError("Answer from Java side is empty")
py4j.protocol.Py4JNetworkError: Answer from Java side is empty

Further investigation reveals that the java heap is being blown due to too-low memory settings on docker for mac. Linux won't see this issue so long as the memory available to the OS is sufficient to the task whereas docker for mac must explicitly allocate memory to a VM for containers to run

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant