-
Notifications
You must be signed in to change notification settings - Fork 198
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
Virtual memory exhausted building in docker - update instructions? #54
Comments
Average server with 16G memory. |
Hi, I met the same problem in compiling TensorFlow in docker environment and I solved this with
All in one, adding |
Hi, I also exhausted my virtual memory when trying to install SyntaxNet from this Dockerfile using the Docker Toolbox. I received this message when compiling the Dockerfile:
Where should I be changing Bazel's default jobs limit? |
Could you file an issue in tensorflow/models? I think it is unrelated to
the issue people observed with building Haskell bindings.
…On Mon, Feb 27, 2017, 10:14 mikeronayne ***@***.***> wrote:
Hi, I also exhausted my virtual memory when trying to install SyntaxNet
<https://github.com/tensorflow/models/tree/master/syntaxnet> from this
Dockerfile
<https://github.com/tensorflow/models/blob/master/syntaxnet/Dockerfile>
using the Docker Toolbox. I received this message when compiling the
Dockerfile:
ERROR:
/root/.cache/bazel/_bazel_root/5b21cea144c0077ae150bf0330ff61a0/external/org_tensorflow/tensorflow/core/kernels/BUILD:1921:1:
C++ compilation of rule ***@***.***_tensorflow//tensorflow/core/kernels:svd_op'
failed: gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE
'-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -Wl,-z,-relro,-z,now
-B/usr/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object
-fno-canonical-system-headers ... (remaining 115 argument(s) skipped):
com.google.devtools.build.lib.shell.BadExitStatusException: Process exited
with status 1. virtual memory exhausted: Cannot allocate memory
____Building complete. ____Elapsed time: 8548.364s, Critical Path: 8051.91s
Where should I be changing Bazel's default jobs limit?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#54 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIXNMnuXUGTqtEYqVdZk1MvSrAHaWe9tks5rgxKXgaJpZM4LVCu8>
.
|
You should ask for help on this in tensorflow/serving. |
There might be some docker-tuning that needs to be mentioned in
README.md
.The text was updated successfully, but these errors were encountered: