Slow on First start

Hi,
the following happens to me with version 8.2 and also with the 9.Beta.

After starting my PC, log into Windows (11 Pro 64 bit) I start eM Client.
The first start after booting (or restarting) the Computer tooks eM Client ~ 30 seconds to start.

When I then close the program and start it again, eM Client starts within 2 seconds.

Not really an issue, just wondering why the first start takes so long.

BTW: Once the program is up and running everything is working fast and smooth. It is just the first start which makes me wonder.
Resources used on startup:
~ 2% CPU and ~ 200MB RAM usage which can’t be the reason for the slow start.
em Client’s database is on a SSD.
Starting eM Client with the attachment indexer disabled makes no difference.

Any ideas?
Ralf

Has a lot to do with whatever else starts/loads at boot time…

@sunriseal: That was indeed my first thought. But the slow start also happens if I let the PC run for 30 minutes and then start eM client. So my guess is, that it can not be related to the things which loads on windows start.

Since you are running v9 Beta this might be something of interest to the 9-Beta group… testing@emclient.com

2 Likes

Although it happend with version 8, i will report this to testing@

Found the “solution” by accident:
For a test I wanted to change the location of the database folder.
So I copied the folder to the new location.
But I did this while eM client was open.

The program quits with an error message and on the next start it does the database check/repair.

After that database check (and the database still at the old location) eM clients starts fast like hell.

I can only assume that the import of various pst files did something with the database what was fixed after the database check finished.

Ralf

@RalfKerkhoff

Yes sounded like the database was slightly corrupted in some way and didn’t run the usual automatic database repair tool.

If you have this issue again, you can also manually run the database checker rather than change the location of the database. See @Gary post from the below thread.

https://forum.emclient.com/t/can-i-use-the-v7-manual-database-repair/70640

Gary

Feb 10

The database repair is now built into the MailClient.exe file. If it detects an issue with the database, it will repair it automatically. But if you think you need to repair the database, you can run this command with eM Client closed: “C:\Program Files (x86)\eM Client\MailClient.exe” /dbrepair

Thanks for the hint that it is possible to do a database check with /dbrepair