Hi YuGiOhJCJ, On Thursday, 2016-05-19 17:26:21 +0200, YuGiOhJCJ Mailing-List wrote:
Dumb question: how much system memory is available?I have 4GB of memory:
That certainly is not enough and it will either grind your machine to heavily swap, or break the build / abort things if no swap is available.
$ free -m total used free shared buffers cached Mem: 3995 559 3436 0 53 330 -/+ buffers/cache: 175 3819 Swap: 956 0 956
And why are you building under /tmp/ and how much free disk space is there?Well, I could do it in /home but as it is a NFS share, it is slower than in /tmp
Ok, but as Linoel already said, using /var/tmp/ might be a better choice. Also, if disk space is limited under /tmp/ then building there may conflict with temporary files the compiler and linker create, which can become quite large.
Do you think I don't have enough memory? Is there a way to require less memory while building libreoffice or should I buy more memory?
Buy memory ;-) at least 8GB are needed, but when building with debug and symbols even that might result in swapping if you forgot to quit a previous gdb session before linking Calc for example.. 12GB or having a larger swap than just 1GB is recommended. Eike -- LibreOffice Calc developer. Number formatter stricken i18n transpositionizer. GPG key "ID" 0x65632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A Better use 64-bit 0x6A6CD5B765632D3A here is why: https://evil32.com/ Care about Free Software, support the FSFE https://fsfe.org/support/?erack
Attachment:
signature.asc
Description: PGP signature