Project

General

Profile

Actions

Bug #1999

closed

Very long delays on first startup of new install

Added by Dan Higgins about 19 years ago. Updated almost 19 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
general
Target version:
Start date:
03/01/2005
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
1999

Description

There is a very long delay when a new version of Kepler is first executed. This
is particularly noticable on the Mac. This delay is due to the Python actor
going through all jars on the the classpath to build a bunch of stuff in the
PTII/lib/cachedir directory! It is only done the first time a new version is
run, but it seems to go through every class in Java. The delay is so long that
many users will think that kepler is not working.

Actions #1

Updated by Christopher Brooks about 19 years ago

In Ptolemy II, the Jython actor only expands the jar files when
Actors -> More Libraries -> Python is opened in the actor tree widget.

This suggests that Kepler is instantiating all the actors at start up
instead of delaying this until the actors are needed.

In the short term, perhaps you could remove the Jython actor?
Is anyone in the Kepler group using it?

_Christopher

Actions #2

Updated by Bertram Ludaescher about 19 years ago

In the very short term, could one at a corresponding warning to the download page!?

Actions #3

Updated by Dan Higgins almost 19 years ago

Jython actor removed from actor tree; this fixes the very long startup problem

Actions #4

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 1999

Actions

Also available in: Atom PDF