I forgot how big an executable can become when you compile it with debug symbols.
I was recompiling IfcOpenShell. For a moment my 16Gb, 12core machine froze. Well, an executable of six hundred, thirty five millions of bytes!
paolo@rigel:/mnt/dati/paolo/src/IfcOpenShell/build/Linux/x86_64/install/ifcopenshell/bin$ file * IfcConvert: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=4aedda5d6f5398c7692e05e99cad2384cf90c992, for GNU/Linux 3.2.0, with debug_info, not stripped IfcGeomServer: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=1b6d02232a0994d7c4cb07c08a56543a1e7849d1, for GNU/Linux 3.2.0, with debug_info, not stripped paolo@rigel:/mnt/dati/paolo/src/IfcOpenShell/build/Linux/x86_64/install/ifcopenshell/bin$ du -h * 635M IfcConvert 413M IfcGeomServer paolo@rigel:/mnt/dati/paolo/src/IfcOpenShell/build/Linux/x86_64/install/ifcopenshell/bin$ strip * paolo@rigel:/mnt/dati/paolo/src/IfcOpenShell/build/Linux/x86_64/install/ifcopenshell/bin$ du -h * 52M IfcConvert 42M IfcGeomServer