KNIME launch takes too long

Hi there,
up to now, I was developing with the KNIME 3.6 target platform without any problems.
Now, I would like to switch to KNIME 3.7.
I have activated the target platform (KNIME-AP.target) from the appropriate branch.
I only did not create a new Eclipse workspace.
Now launching KNIME takes much longer than before (~5 minutes?; tried several times). But then KNIME runs as expected.
I will attach the console output.

console.txt (83.7 KB)

It starts with a lot of messages like this:

!ENTRY org.eclipse.update.configurator 4 0 2019-01-11 10:23:04.173
!MESSAGE Could not install bundle plugins/org.eclipse.core.externaltools_1.1.0.v20170113-2056.jar   A bundle is already installed with the name "org.eclipse.core.externaltools" and version "1.1.0.v20170113-2056"

The message is explained here but I don’t know why it was working with 3.6 and if that solution makes sense (or if it is not the problem at all).

I would be happy if anybody has an idea what went wrong.
In the meanwhile I try to get it running with a new eclipse workspace.

I used a new workspace. The messages like the ones above are still there but obviously not the problem. Now the startup is fast again.

Anyhow, two questions:
Should it theoretically work to use the old workspace?
If yes? What went wrong?

It’s not a big deal to set up a new Eclipse workspace but it would be nice if that would not be necessary…

Hi @niederle

I have made the same experience, switching to a new eclipse workspace can improve the startup time of KNIME Analytics Platform significantly.

The new target definition added a lot of new plugins to the eclipse internal plugin cache. I believe this can cause the slowdown, as there are now two versions for every plugin in the cache. It might be possible to fix this by deleting the eclipse plugin cache in your workspace folder, it is located at .metadata/.plugins/.org.eclipse.pde.core/.bundle_pool/. You will need to set the target platform again afterwards.

best,
Gabriel

1 Like

Hi Gabriel,

thanks a lot. I will give it a try :slight_smile: