Skip to content

Commit

Permalink
Correct LTO RAM consumption
Browse files Browse the repository at this point in the history
  • Loading branch information
RevolNoom committed Mar 2, 2021
1 parent 81e24ef commit a05ba7b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion development/compiling/compiling_for_linuxbsd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ manager.
If you are compiling Godot with GCC, you can make the binary
even smaller and faster by adding the SCons option ``use_lto=yes``.
As link-time optimization is a memory-intensive process,
this will require about 3 GB of available RAM while compiling.
this will require about 16 GB of available RAM while compiling.

.. note:: If you want to use separate editor settings for your own Godot builds
and official releases, you can enable
Expand Down
2 changes: 1 addition & 1 deletion development/compiling/compiling_for_windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ dependencies. Running it will bring up the Project Manager.
If you are compiling Godot with MinGW, you can make the binary
even smaller and faster by adding the SCons option ``use_lto=yes``.
As link-time optimization is a memory-intensive process,
this will require about 3 GB of available RAM while compiling.
this will require about 16 GB of available RAM while compiling.

.. note:: If you want to use separate editor settings for your own Godot builds
and official releases, you can enable
Expand Down
2 changes: 1 addition & 1 deletion development/compiling/optimizing_for_size.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ and MSVC compilers:

scons p=windows target=release tools=no use_lto=yes

Linking becomes much slower with this option, so it should be used only for
Linking becomes much slower with this option (and also consumes more RAM), so it should be used only for
release builds.

Stripping binaries
Expand Down

0 comments on commit a05ba7b

Please sign in to comment.