Page 1 of 1

EXE size

Posted: 14.03.2022, 13:01
by stoffman
It just so happen that I upgraded ZEOS lib today exactly after 366 days... And I noticed that the exe size increased by 400kb (on top of the ~3mb it was already adding).

I do care about this thing for various reasons which are not the scope of this post. My question how can I pin point what cause it?

I'm using Lazarus 2.0.10 on Windows 10

Thanks,
Yoni

Re: EXE size

Posted: 15.03.2022, 11:41
by miab3
Some components arrived.
If you want to limit the size, exclude the databases you don't use:

Code: Select all

// Uncomment these defines to disable some DB drivers (reduce binary size)
{.$DEFINE ZEOS_DISABLE_MYSQL}
{.$DEFINE ZEOS_DISABLE_POSTGRESQL}
{.$DEFINE ZEOS_DISABLE_DBLIB}
{.$DEFINE ZEOS_DISABLE_ADO}
{.$DEFINE ZEOS_DISABLE_INTERBASE}
{.$DEFINE ZEOS_DISABLE_FIREBIRD}
{.$DEFINE ZEOS_DISABLE_SQLITE}
{.$DEFINE ZEOS_DISABLE_ORACLE}
{.$DEFINE ZEOS_DISABLE_ASA}
{.$DEFINE ZEOS_DISABLE_SQLANY}
{.$DEFINE ZEOS_DISABLE_POOLED}
{.$DEFINE ZEOS_DISABLE_OLEDB}
{.$DEFINE ZEOS_DISABLE_ODBC}
{.$DEFINE ZEOS_DISABLE_PROXY}
{.$DEFINE ZEOS_PROXY_USE_INTERNAL_PROXY}
MichaƂ