I'm trying to install Tensorflow Serving , I followed the steps availble on Tensorflow website ,but when I run the following command :
bazel build tensorflow_serving/...
after a long time (like 30 minutes or more) I receive following error.
gcc: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
I attached a screenshot to provide full report, I'm using Ubuntu and I installed Bazel version 0.2 . I already searched and apparently it can be the problem of running out of memory but I couldn't find how to solve it .
It would be very helpful if anyone knows the solution .