Lazarus ide size after adding package lazarus / 1-Linux ---------------------------------------------------------------------- maximilliangreat · 2022-04-15 07:22 Hi! I just installed lazarus from distrubution's package manager. Added small simple component, ide rebuilds itself. Now I have /home/user/.lazarus/lazarus which is 140Mb vs /usr/bin/lazarus which is only 37Mb! I don't feel like it is a right thing. Why does it happen and what can I do about it? ---------------------------------------------------------------------- dbannon · 2022-04-15 07:40 Well, you could strip it I guess, not a lot of point really .... Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i dbannon@dell:~/bin/Lazarus/lazarus_2_2_0$ ls -l laz*-rwxrwxr-x 1 dbannon dbannon 185404608 Apr 15 17:00 lazarus.... dbannon@dell:~/bin/Lazarus/lazarus_2_2_0$ strip lazarus dbannon@dell:~/bin/Lazarus/lazarus_2_2_0$ ls -l laz*-rwxrwxr-x 1 dbannon dbannon  43481672 Apr 15 17:37 lazarus Davo ---------------------------------------------------------------------- af0815 · 2022-04-15 08:24 What is your problem with the size of the ide ? I have no problems with big ide's If you add a small package, this package can have depencies and the depencies can have more depencies. So things can be grown fast :-) But this is no problem with the IDE itself. And space on disks/ssd are actual no problem. And 5GB room for a longer working fpc/ide with all files inside are normal for me. And a Lazarus with 400 MB too. ---------------------------------------------------------------------- dseligo · 2022-04-15 08:27 You can go to menu Tools and then Configure "Build Lazarus..." ... Check 'Profile to build' option: if you have 'Debug IDE' change it to 'Normal IDE' or 'Optimized IDE' (I use 'Optimized IDE'). ---------------------------------------------------------------------- tetrastes · 2022-04-15 09:00 "Normal IDE" is compiled with -g -gl and without -Xs, so you have to strip it manually. I don't understand why it is compiled with debug information (and so run time LCL and other packages), as there is "Debug IDE" option. Especially when -g option is not compatible with FpDebug, which is the default in Lazarus 2.2.0. ---------------------------------------------------------------------- maximilliangreat · 2022-04-16 05:41 Quote from: af0815 on April 15, 2022, 10:24:57 amWhat is your problem with the size of the ide ? I have no problems with big ide's Yes there is a problem. I have old notebook for linux, and it was noticeable. I've checked, on windows exe was 290mb!!  Think about those who run lazarus on arm boards, or from usb thumb drives. Quote from: dseligo on April 15, 2022, 10:27:37 amYou can go to menu Tools and then Configure "Build Lazarus..." ... Thanks, I'm pretty newbie to lazarus, had not know about this menu.  Quote from: tetrastes on April 15, 2022, 11:00:30 am"Normal IDE" is compiled with -g -gl and without -Xs, so you have to strip it manually. I don't understand why it is compiled with debug information (and so run time LCL and other packages), as there is "Debug IDE" option. Especially when -g option is not compatible with FpDebug, which is the default in Lazarus 2.2.0. You absolutely right. I think it should be filed as a bug. ---------------------------------------------------------------------- af0815 · 2022-04-16 06:54 Sometimes, i am working on RasPi 3B+ and RasPi 4 there i have no realy problem with a bigger IDE. And you use on this devices only the packages you need. I have on older Laptophardware no realy problems with the size of Lazarus. I have more problems with newer distributions like ubuntu. On this old hardware i use plain  Debian. ---------------------------------------------------------------------- maximilliangreat · 2022-04-16 16:38 QuoteI have on older Laptophardware no realy problems with the size of Lazarus.Startup time. 1 sec vs 5 sec. Not a dealbreaker, but nothing good. ---------------------------------------------------------------------- af0815 · 2022-04-16 17:10 Then use a smaler Version of Lazarus with only needed packages for the project. But 5 Seconds startuptime is good, try to start other IDE. In their startuptime my coffeecup will go empty on older hardware.