3 ms·
The PicoTorrent executable is somewhere around 5-6MB. RAM and CPU usage should be low to tiny if I haven't made a mistake and leak memory all over the place :)
by viktorelofsson 11y ago
The PicoTorrent executable is somewhere around 5-6MB. RAM and CPU usage should be low to tiny if I haven't made a mistake and leak memory all over the place :) The reason our executable is so much bigger is that we have a few indirect dependencies on Boost and OpenSSL (via libtorrent).
I'm open for suggestions on how to reduce size.
- nickpsecurity 11y agoI was just picking at you as the uTorrent author and his work were among best at low-fat, GUI apps. Steve Gibson at GRC comes to mind, too. 5-6MB is better than many. Anyway, I'm not sure what can be done with Boost: just too complicated. Maybe replacing what you use in it with lightweight alternative. However, you could see if you can replace OpenSSL with LibreSSL. OpenBSD team trimmed out hundreds of KB of fat and problematic code out of OpenSSL when building it. You get better security, too. :) http://www.libressl.org/ http://www.libressl.org/ Note: Mac OS X already uses it. So, it must work decent by now.