Project

General

Profile

Bug #1999

Very long delays on first startup of new install

Added by Dan Higgins over 14 years ago. Updated over 14 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.

History

#1 Updated by Christopher Brooks over 14 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

#2 Updated by Bertram Ludaescher over 14 years ago

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

#3 Updated by Dan Higgins over 14 years ago

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

#4 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 1999

Also available in: Atom PDF