Why is PP so insanely slow opening up?

When I open PP it takes a good what… 20 seconds? I see the splash screen and it finally opens. I have a powerful 3950X with 32GB RAM so I don’t get it.

Tough, it’s the Java impact as initially the Java Virtual machine needs to be executed and the Java code is to be to compiled just-in-time.

this has changed though few months back, didn´t it? Before it was not the 20 secs. And, I am not 100% sure, but it only occurs on Win (11) and not on (an older) Mac OS?
(for me it does not really matter, I consider this not even annoying, I can very well live with it; but of course I also would not mind a fix :wink: )

Did you edit the PortfolioPerformance.ini file so that Java actually uses the memory?

I didn’t do anything. What do I change?

I used the recommended settings here:

  1. : (Win10 64bit 16GB RAM)
 -Xms4096m
 -Xmx12288m
 -Xss512k

It still took 24 seconds to open, im not sure how much it took with default but it was similar. I don’t understand how an accounting software takes half a minute to start in 2025.

But the good news is that after I open it once, after closing it, I can reopen it in like 3 seconds, something I don’t understand since I don’t see it loaded in memory or something.

Modern operating systems buffer a lot of files in memory after they have been read once. Are you using a harddisk (i.e., the classic thing with rotating discs, as opposed to an SSD)?

970 Evo Pro m.2, very fast.

Sounds like your virus scanner. The first time you start PP, the scanner goes through all the Jar-files to check if they happened to become a virus while the computer was switched off. The second time the program is started, the scanner at least remembers that the check has been done and because it’s impossible that jar-files are changed while a computer is running, the scan of these jars is skipped.

If you’ve sensed sarcasm, congratulation :wink:

2 Likes

Im not using an antivirus other than the default Windows 10 anti virus thing.
Im not sure what you mean.

So you’re not using a virus scanner but yes.

Your virus scanner might be the reason the application’s startup time is so slow the first time.

I’ve added the path to the PP Java engine (javaw.exe) as an exclude to the Windows Defender. This reduces the start up time from approx. 2 mintues to 20 seconds.

2 Likes

javaw.exe is one of the executables that needs scanning.

I wonder if the issue is Windows Defender exclusion check running on each start-up · Issue #1264 · eclipse-platform/eclipse.platform · GitHub?

Just wondering whether a solution has been found / identified. I am having the same problem. First start of the day extreeeemly slow. Second one as per normal. I believe (no evidence) it started with the upgrade 2 versions ago. had hoped it would be resolved with the last one (Version: 0.75.1) , but still the same. I am running on Windows 11

Yes, the reason is identified:

Note: I do not care about the start time at the first start and therefore I have not added any exceptions to Windows Defender.

thanks for the quick response. Oddly, i didn’t have java installed. so now i installed it and excluded javaw.exe. but still the same issue. i excluded the .jar files from portfolioperformance directory as well, but again, no improvement.

You don`t need to install Java yourself on Windows operating systems, it comes with the PP package.

I see. No wonder PP worked without Java installation. Nevertheless I still don’t get further. I have excluded the whole directory from defender (which is probably not a good idea) and still the same problem.

Is your second start faster than the initial one?