question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

the executable is so huge, is it possible slim it?

See original GitHub issue

executable from v1.7.0.211 mqttMultimeter-linux-x64.zip

176M 2023-04-30 10:22 mqttMultimeter


file says not stripped, but after strip it’ll broken.


$ file ./mqttMultimeter ./mqttMultimeter: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=8c843397ceec509a72a2b2394d574f5822bb3aad, not stripped, too many notes (256)

$ strip ./mqttMultimeter

$ ./mqttMultimeter Failure processing application bundle; possible file corruption. Arithmetic overflow while reading bundle. A fatal error occurred while processing application bundle

Issue Analytics

  • State:open
  • Created 5 months ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
chkr1011commented, May 29, 2023

I will create a build which does not include the runtime. This will require the .NET runtime to be installed but will shrink the binaries are lot.

1reaction
peterhoegcommented, May 29, 2023

And I have just merged it, so mqttmultimeter is now officially in the largest Linux distribution based on number of packages.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to absolutely minimize the executable produced by ...
On my newer computer running MacOS 10.15.7, a hello world program with GCC produced a 13 KB executable, but now it produces a...
Read more >
Process for reducing the size of an executable
So I've run 'size' on it to determine how big the hex file is. · Then 'size' again to see how big each...
Read more >
Size of program executable very big...
My test program contains a simple form with a few buttons and comboboxes and a memo. Additionally I have a unit defining a...
Read more >
Compile too slow and the size of generated so is too large.
A few things could help slim down binary executable size and executable size down: Put all of your bindings in a .cpp file...
Read more >
Slim installation of MATLAB Runtime
I want to create a Docker image with MATLAB Runtime and a compiled MATLAB executable. The executable only uses core MATLAB, so I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found