Linux binary is huge

Hi all!

I’ve packaged my game for Win32/64, macOS and Linux and was surprised by the size of the latter. When I started checking turned out that the game binary in “LinuxNoEditor//Binaries/Linux/-Linux-Shipping” is 621M!

I’m using full rebuild shipping configuration with no debug files included. Total dir size is 847M against 100-180M on other platforms. Is it normal that it’s so big?

I can confirm that. The size of my binary on Linux is 700MB.

But it compresses well (to 111MB), so that should not be a problem for distribution.

But we still don’t know why the binary is so big.

It would be interesting to know…

Looking for an answer here too. My linux dedicated server binary is also massive. I have a feeling it probably contains debugging symbols (i.e. the pdb file) but that’s just a wild guess. I would really like to shrink it down similar to the Windows version which is roughly 3x smaller.

Looks like the solution is here:

The cross-toolchain comes with a utility to strip the debugging symbols manually.