This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 8873014  [doc] Update compilation.md (#8646)
8873014 is described below

commit 887301474d35fa33c72f06143244d47eb5b0a34e
Author: emerkfu <[email protected]>
AuthorDate: Mon Mar 28 10:21:31 2022 +0800

    [doc] Update compilation.md (#8646)
    
    Added solutions to the "fatal error: Killed signal terminated program ..."
    problem encountered when compiling with Docker to the FAQ.
---
 docs/en/installing/compilation.md    | 6 ++++++
 docs/zh-CN/installing/compilation.md | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/docs/en/installing/compilation.md 
b/docs/en/installing/compilation.md
index 562c443..b58a044 100644
--- a/docs/en/installing/compilation.md
+++ b/docs/en/installing/compilation.md
@@ -208,6 +208,12 @@ You can try to compile Doris directly in your own Linux 
environment.
 
          REPOSITORY_URL contains all third-party library source code packages 
and their historical versions.
 
+3. `fatal error: Killed signal terminated program ...`
+
+     If you encounter the above error when compiling with a Docker image, it 
may be that the memory allocated to the image is insufficient (the default 
memory size allocated by Docker is 2GB, and the peak memory usage during the 
compilation process is greater than 2GB).
+
+     Try to increase the allocated memory of the image appropriately, 4GB ~ 
8GB is recommended.
+
 ## Special statement
 
 Starting from version 0.13, the dependency on the two third-party libraries 
[1] and [2] will be removed in the default compiled output. These two 
third-party libraries are under [GNU General Public License 
V3](https://www.gnu.org/licenses/gpl-3.0.en.html). This license is incompatible 
with [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0), so it 
should not appear in the Apache release by default.
diff --git a/docs/zh-CN/installing/compilation.md 
b/docs/zh-CN/installing/compilation.md
index 9325482..d6a479e 100644
--- a/docs/zh-CN/installing/compilation.md
+++ b/docs/zh-CN/installing/compilation.md
@@ -207,6 +207,12 @@ under the License.
 
         REPOSITORY_URL 中包含所有第三方库源码包和他们的历史版本。
 
+3. `fatal error: Killed signal terminated program ...`
+
+    使用 Docker 镜像编译时如遇到上述报错,可能是分配给镜像的内存不足(Docker 默认分配的内存大小为 2GB,编译过程中内存占用的峰值大于 
2GB)。
+
+    尝试适当调大镜像的分配内存,推荐 4GB ~ 8GB。
+
 ## 特别声明
 
 自 0.13 版本开始,默认的编译产出中将取消对 [1] 和 [2] 两个第三方库的依赖。这两个第三方库为 [GNU General Public 
License V3](https://www.gnu.org/licenses/gpl-3.0.en.html) 协议。该协议与 [Apache 
License 2.0](https://www.apache.org/licenses/LICENSE-2.0) 协议不兼容,因此默认不出现在 Apache 
发布版本中。

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to