I took a quick look - in ResourceManager_impl.registerResource(), I think we may need a check to see if we're in "validation mode" (This should be an entry in the aAdditionalParams map that's passed to this method.), and not instantiate the users's SharedResourceObject if that is the case.
-Adam On Thu, Feb 14, 2008 at 3:53 PM, Marshall Schor <[EMAIL PROTECTED]> wrote: > Adam Lally (JIRA) wrote: > > [ > https://issues.apache.org/jira/browse/UIMA-780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568781#action_12568781 > ] > > > > Adam Lally commented on UIMA-780: > > --------------------------------- > > > > I talked with Jennifer about this, and the large dictionary that's being > loaded is an external resource. Perhaps there's some bug causing external > resources to be loaded during the validation step. > > > Adam - can you give some keywords or classes or ??? where to look for > this, or even better, take a look to see what's happening? > > -Marshall > > > > > >> CDE hangs when processing AEs with very high initialization time (adding > the AE to the aggregate or saving the descriptor) > >> > -------------------------------------------------------------------------------------------------------------------------- > >> > >> Key: UIMA-780 > >> URL: https://issues.apache.org/jira/browse/UIMA-780 > >> Project: UIMA > >> Issue Type: Bug > >> Components: Eclipse plugins > >> Affects Versions: 2.2 > >> Environment: Debian Linux > >> Reporter: Jennifer Chu-Carroll > >> Priority: Minor > >> > >> The CDE repeatedly hung when trying to add an AE with high initialization > time into the aggregate. When I finally successfully added it through editing > the source xml, it hung again while trying to save the descriptor. It appears > that the CDE is trying to initialize the annotator (CPU usage 200+%, using > 5.7G of memory). I verified this by having the annotator in question load a > toy dictionary and the problem disappeared. > >> > > > > > >
