Re: Regarding Apached cTakes

2018-06-01 Thread Peter Abramowitsch
Hi Ankit

It looks like your answer is near the bottom of the stacktrace you sent.  The 
machine is out of memory.   In general with these traces the root cause of an 
error will be near the bottom, but as it is propagated up the many layers of 
the application, the messages become more generic.

So in your case the root cause is:
> Caused by: org.hsqldb.HsqlException: error in script file line: 1141005 
> java.lang.OutOfMemoryError: GC overhead limit exceeded

In general Ctakes scripts launch the app with parameters that specify the 
memory needed, but if either these are left out, or the machine itself doesn’t 
have the available resources, you will get this error.

- Peter

Sent from my iPad

> On Jun 1, 2018, at 02:51, Ankit Bisht  wrote:
> 
> Hello Rehan,
> 
> Are you talking about the below messages? I took them from CAS visual 
> debugger tool = > Tools => View log file .  I have also attached the snapshot 
> of exception that I am getting. Please let me know if you need anything else.
> 
> 10:58:42.492 - 1: org.apache.uima.tools.cvd.MainFrame.handleException(526): 
> SEVERE: Initialization of annotator class 
> "org.apache.ctakes.dictionary.lookup2.ae.DefaultJCasTermAnnotator" failed.  
> (Descriptor: 
> file:/C:/Users/ankit/Desktop/apache-ctakes-4.0.0/desc/ctakes-dictionary-lookup-fast/desc/analysis_engine/UmlsLookupAnnotator.xml)
> org.apache.uima.resource.ResourceInitializationException: Initialization of 
> annotator class 
> "org.apache.ctakes.dictionary.lookup2.ae.DefaultJCasTermAnnotator" failed.  
> (Descriptor: 
> file:/C:/Users/ankit/Desktop/apache-ctakes-4.0.0/desc/ctakes-dictionary-lookup-fast/desc/analysis_engine/UmlsLookupAnnotator.xml)
>   at 
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:271)
>   at 
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initialize(PrimitiveAnalysisEngine_impl.java:170)
>   at 
> org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94)
>   at 
> org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
>   at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:279)
>   at 
> org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:407)
>   at 
> org.apache.uima.analysis_engine.asb.impl.ASB_impl.setup(ASB_impl.java:256)
>   at 
> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initASB(AggregateAnalysisEngine_impl.java:429)
>   at 
> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initializeAggregateAnalysisEngine(AggregateAnalysisEngine_impl.java:373)
>   at 
> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initialize(AggregateAnalysisEngine_impl.java:186)
>   at 
> org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94)
>   at 
> org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
>   at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:279)
>   at 
> org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:371)
>   at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.java:1484)
>   at 
> org.apache.uima.tools.cvd.MainFrame.loadAEDescriptor(MainFrame.java:476)
>   at org.apache.uima.tools.cvd.CVD.main(CVD.java:164)
> Caused by: org.apache.uima.resource.ResourceInitializationException: MESSAGE 
> LOCALIZATION FAILED: Can't find resource for bundle 
> java.util.PropertyResourceBundle, key Could not construct 
> org.apache.ctakes.dictionary.lookup2.dictionary.UmlsJdbcRareWordDictionary
>   at 
> org.apache.ctakes.dictionary.lookup2.ae.AbstractJCasTermAnnotator.initialize(AbstractJCasTermAnnotator.java:131)
>   at 
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:266)
>   ... 16 more
> Caused by: 
> org.apache.uima.analysis_engine.annotator.AnnotatorContextException: MESSAGE 
> LOCALIZATION FAILED: Can't find resource for bundle 
> java.util.PropertyResourceBundle, key Could not construct 
> org.apache.ctakes.dictionary.lookup2.dictionary.UmlsJdbcRareWordDictionary
>   at 
> org.apache.ctakes.dictionary.lookup2.dictionary.DictionaryDescriptorParser.parseDictionary(DictionaryDescriptorParser.java:199)
>   at 
> org.apache.ctakes.dictionary.lookup2.dictionary.DictionaryDescriptorParser.parseDictionaries(DictionaryDescriptorParser.java:156)
>   at 
> org.apache.ctakes.dictionary.lookup2.dictionary.DictionaryDescriptorParser.parseDescriptor(DictionaryDescriptorParser.java:128)
>   at 
> org.apache.ctakes.dictionary.lookup2.ae.AbstractJCasTermAnnotator.initialize(AbstractJCasTermAnnotator.java:129)
>   ... 17 more
> Caused by: java.lang.reflect.InvocationTargetException
>   at 

Re: Regarding Apached cTakes

2018-06-01 Thread Peter Abramowitsch
The best thing would be for you to look at some of the other launch scripts in 
the bin directory of a release.  There you’ll find examples of passing both 
memory and UMLS parameters.

Sent from my iPad

> On Jun 1, 2018, at 18:36, Ankit Bisht  wrote:
> 
> Thanks Peter. I have not done that before. How could it be done?
> Would it be done like this:
> java -Xms512M -Xmx3g ClassName?
> 
> -Ankit
> 
> On Fri, Jun 1, 2018 at 12:05 PM, Peter Abramowitsch > wrote:
> 
>> That's good.  But the fact that the stack trace shows you're out of memory,
>> probably indicates that the JVM memory related args are not successfully
>> being passed.
>> They should be  set to -Xms512M -Xmx3g  or greater.
>> 
>> Peter
>> 
>> On Fri, Jun 1, 2018 at 5:03 PM, Ankit Bisht 
>> wrote:
>> 
>>> Hello Peter,
>>> 
>>> Thanks for showing your concern on this issue. The machine on which I am
>>> running cTakes has  32 GB of Ram and 100 GB of Memory left.
>>> 
>>> -Ankit
>>> 
>>> On Fri, Jun 1, 2018 at 2:31 AM, Peter Abramowitsch <
>>> pabramowit...@gmail.com>
>>> wrote:
>>> 
 Hi Ankit
 
 It looks like your answer is near the bottom of the stacktrace you
>> sent.
 The machine is out of memory.   In general with these traces the root
>>> cause
 of an error will be near the bottom, but as it is propagated up the
>> many
 layers of the application, the messages become more generic.
 
 So in your case the root cause is:
> Caused by: org.hsqldb.HsqlException: error in script file line:
>> 1141005
 java.lang.OutOfMemoryError: GC overhead limit exceeded
 
 In general Ctakes scripts launch the app with parameters that specify
>> the
 memory needed, but if either these are left out, or the machine itself
 doesn’t have the available resources, you will get this error.
 
 - Peter
 
 Sent from my iPad
 
> On Jun 1, 2018, at 02:51, Ankit Bisht 
 wrote:
> 
> Hello Rehan,
> 
> Are you talking about the below messages? I took them from CAS visual
 debugger tool = > Tools => View log file .  I have also attached the
 snapshot of exception that I am getting. Please let me know if you need
 anything else.
> 
> 10:58:42.492 - 1: org.apache.uima.tools.cvd.
 MainFrame.handleException(526): SEVERE: Initialization of annotator
>>> class
 "org.apache.ctakes.dictionary.lookup2.ae.DefaultJCasTermAnnotator"
 failed.  (Descriptor: file:/C:/Users/ankit/Desktop/
 apache-ctakes-4.0.0/desc/ctakes-dictionary-lookup-fast/
 desc/analysis_engine/UmlsLookupAnnotator.xml)
> org.apache.uima.resource.ResourceInitializationException:
 Initialization of annotator class "org.apache.ctakes.dictionary.
>>> lookup2.ae
 .DefaultJCasTermAnnotator" failed.  (Descriptor:
 file:/C:/Users/ankit/Desktop/apache-ctakes-4.0.0/desc/
 ctakes-dictionary-lookup-fast/desc/analysis_engine/
 UmlsLookupAnnotator.xml)
>  at org.apache.uima.analysis_engine.impl.
 PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(
 PrimitiveAnalysisEngine_impl.java:271)
>  at org.apache.uima.analysis_engine.impl.
 PrimitiveAnalysisEngine_impl.initialize(PrimitiveAnalysisEngine_impl.
 java:170)
>  at org.apache.uima.impl.AnalysisEngineFactory_impl.
 produceResource(AnalysisEngineFactory_impl.java:94)
>  at org.apache.uima.impl.CompositeResourceFactory_impl.
 produceResource(CompositeResourceFactory_impl.java:62)
>  at org.apache.uima.UIMAFramework.
>> produceResource(UIMAFramework.
 java:279)
>  at org.apache.uima.UIMAFramework.produceAnalysisEngine(
 UIMAFramework.java:407)
>  at org.apache.uima.analysis_engine.asb.impl.ASB_impl.
 setup(ASB_impl.java:256)
>  at org.apache.uima.analysis_engine.impl.
 AggregateAnalysisEngine_impl.initASB(AggregateAnalysisEngine_impl.
 java:429)
>  at org.apache.uima.analysis_engine.impl.
 AggregateAnalysisEngine_impl.initializeAggregateAnalysisEng
 ine(AggregateAnalysisEngine_impl.java:373)
>  at org.apache.uima.analysis_engine.impl.
 AggregateAnalysisEngine_impl.initialize(AggregateAnalysisEngine_impl.
 java:186)
>  at org.apache.uima.impl.AnalysisEngineFactory_impl.
 produceResource(AnalysisEngineFactory_impl.java:94)
>  at org.apache.uima.impl.CompositeResourceFactory_impl.
 produceResource(CompositeResourceFactory_impl.java:62)
>  at org.apache.uima.UIMAFramework.
>> produceResource(UIMAFramework.
 java:279)
>  at org.apache.uima.UIMAFramework.produceAnalysisEngine(
 UIMAFramework.java:371)
>  at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.
 java:1484)
>  at org.apache.uima.tools.cvd.MainFrame.loadAEDescriptor(
 MainFrame.java:476)
>  at org.apache.uima.tools.cvd.CVD.main(CVD.java:164)
> Caused by: org.apache.uima.resource.ResourceInitializationException:
 MESSAGE LOCALIZATION FAILED: 

Re: Could not find or load main class org.apache.uima.tools.cpm.CpmFrame

2018-06-01 Thread Barbara Moloney
I found the solution at
https://stackoverflow.com/questions/30386833/uima-example-in-eclipse-not-working
with
some modification. I needed to create a UIMA user library in Eclipse for
each ctakes run confiiguration by adding external Jars from UIMA_HOME\lib.

Barbara


On 1 May 2018 at 11:28, Barbara Moloney 
wrote:

> Hi
> I'm new to cTAKES (and Java 1.8) and trying to get run configurations to
> work. I have downloaded the source code from URL as specified in the
> Developer Install instructions for cTAKES 4.0. When I try to run the
> configuration within Eclipse (eg UIMA_CPE_GUI) I get an error message
>
> Error: Could not find or load main class org.apache.uima.tools.cpm.CpmF
> rame
>
> I'm suspecting the problem may be in my path and/or classpath variables.
>
> I have another Eclipse workspace for UIMA and the run configurations are
> working.
>
> Can anyone help please.
>
> Barbara
>
>

-- 

This
 message is intended for the addressee named and may contain 

confidential information. If you are not the intended recipient, please 

delete it and notify the sender. Views expressed in this message are 
those 
of the individual sender, and are not necessarily the views of 
their 
organisation.


Re: Regarding Apached cTakes

2018-06-01 Thread Ankit Bisht
Hello Peter,

Thanks for showing your concern on this issue. The machine on which I am
running cTakes has  32 GB of Ram and 100 GB of Memory left.

-Ankit

On Fri, Jun 1, 2018 at 2:31 AM, Peter Abramowitsch 
wrote:

> Hi Ankit
>
> It looks like your answer is near the bottom of the stacktrace you sent.
> The machine is out of memory.   In general with these traces the root cause
> of an error will be near the bottom, but as it is propagated up the many
> layers of the application, the messages become more generic.
>
> So in your case the root cause is:
> > Caused by: org.hsqldb.HsqlException: error in script file line: 1141005
> java.lang.OutOfMemoryError: GC overhead limit exceeded
>
> In general Ctakes scripts launch the app with parameters that specify the
> memory needed, but if either these are left out, or the machine itself
> doesn’t have the available resources, you will get this error.
>
> - Peter
>
> Sent from my iPad
>
> > On Jun 1, 2018, at 02:51, Ankit Bisht 
> wrote:
> >
> > Hello Rehan,
> >
> > Are you talking about the below messages? I took them from CAS visual
> debugger tool = > Tools => View log file .  I have also attached the
> snapshot of exception that I am getting. Please let me know if you need
> anything else.
> >
> > 10:58:42.492 - 1: org.apache.uima.tools.cvd.
> MainFrame.handleException(526): SEVERE: Initialization of annotator class
> "org.apache.ctakes.dictionary.lookup2.ae.DefaultJCasTermAnnotator"
> failed.  (Descriptor: file:/C:/Users/ankit/Desktop/
> apache-ctakes-4.0.0/desc/ctakes-dictionary-lookup-fast/
> desc/analysis_engine/UmlsLookupAnnotator.xml)
> > org.apache.uima.resource.ResourceInitializationException:
> Initialization of annotator class "org.apache.ctakes.dictionary.lookup2.ae
> .DefaultJCasTermAnnotator" failed.  (Descriptor:
> file:/C:/Users/ankit/Desktop/apache-ctakes-4.0.0/desc/
> ctakes-dictionary-lookup-fast/desc/analysis_engine/
> UmlsLookupAnnotator.xml)
> >   at org.apache.uima.analysis_engine.impl.
> PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(
> PrimitiveAnalysisEngine_impl.java:271)
> >   at org.apache.uima.analysis_engine.impl.
> PrimitiveAnalysisEngine_impl.initialize(PrimitiveAnalysisEngine_impl.
> java:170)
> >   at org.apache.uima.impl.AnalysisEngineFactory_impl.
> produceResource(AnalysisEngineFactory_impl.java:94)
> >   at org.apache.uima.impl.CompositeResourceFactory_impl.
> produceResource(CompositeResourceFactory_impl.java:62)
> >   at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.
> java:279)
> >   at org.apache.uima.UIMAFramework.produceAnalysisEngine(
> UIMAFramework.java:407)
> >   at org.apache.uima.analysis_engine.asb.impl.ASB_impl.
> setup(ASB_impl.java:256)
> >   at org.apache.uima.analysis_engine.impl.
> AggregateAnalysisEngine_impl.initASB(AggregateAnalysisEngine_impl.
> java:429)
> >   at org.apache.uima.analysis_engine.impl.
> AggregateAnalysisEngine_impl.initializeAggregateAnalysisEng
> ine(AggregateAnalysisEngine_impl.java:373)
> >   at org.apache.uima.analysis_engine.impl.
> AggregateAnalysisEngine_impl.initialize(AggregateAnalysisEngine_impl.
> java:186)
> >   at org.apache.uima.impl.AnalysisEngineFactory_impl.
> produceResource(AnalysisEngineFactory_impl.java:94)
> >   at org.apache.uima.impl.CompositeResourceFactory_impl.
> produceResource(CompositeResourceFactory_impl.java:62)
> >   at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.
> java:279)
> >   at org.apache.uima.UIMAFramework.produceAnalysisEngine(
> UIMAFramework.java:371)
> >   at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.
> java:1484)
> >   at org.apache.uima.tools.cvd.MainFrame.loadAEDescriptor(
> MainFrame.java:476)
> >   at org.apache.uima.tools.cvd.CVD.main(CVD.java:164)
> > Caused by: org.apache.uima.resource.ResourceInitializationException:
> MESSAGE LOCALIZATION FAILED: Can't find resource for bundle 
> java.util.PropertyResourceBundle,
> key Could not construct org.apache.ctakes.dictionary.lookup2.dictionary.
> UmlsJdbcRareWordDictionary
> >   at org.apache.ctakes.dictionary.lookup2.ae.
> AbstractJCasTermAnnotator.initialize(AbstractJCasTermAnnotator.java:131)
> >   at org.apache.uima.analysis_engine.impl.
> PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(
> PrimitiveAnalysisEngine_impl.java:266)
> >   ... 16 more
> > Caused by: 
> > org.apache.uima.analysis_engine.annotator.AnnotatorContextException:
> MESSAGE LOCALIZATION FAILED: Can't find resource for bundle 
> java.util.PropertyResourceBundle,
> key Could not construct org.apache.ctakes.dictionary.lookup2.dictionary.
> UmlsJdbcRareWordDictionary
> >   at org.apache.ctakes.dictionary.lookup2.dictionary.
> DictionaryDescriptorParser.parseDictionary(DictionaryDescriptorParser.
> java:199)
> >   at org.apache.ctakes.dictionary.lookup2.dictionary.
> DictionaryDescriptorParser.parseDictionaries(DictionaryDescriptorParser.
> java:156)
> >   at 

Re: Regarding Apached cTakes

2018-06-01 Thread Peter Abramowitsch
That's good.  But the fact that the stack trace shows you're out of memory,
probably indicates that the JVM memory related args are not successfully
being passed.
They should be  set to -Xms512M -Xmx3g  or greater.

Peter

On Fri, Jun 1, 2018 at 5:03 PM, Ankit Bisht 
wrote:

> Hello Peter,
>
> Thanks for showing your concern on this issue. The machine on which I am
> running cTakes has  32 GB of Ram and 100 GB of Memory left.
>
> -Ankit
>
> On Fri, Jun 1, 2018 at 2:31 AM, Peter Abramowitsch <
> pabramowit...@gmail.com>
> wrote:
>
> > Hi Ankit
> >
> > It looks like your answer is near the bottom of the stacktrace you sent.
> > The machine is out of memory.   In general with these traces the root
> cause
> > of an error will be near the bottom, but as it is propagated up the many
> > layers of the application, the messages become more generic.
> >
> > So in your case the root cause is:
> > > Caused by: org.hsqldb.HsqlException: error in script file line: 1141005
> > java.lang.OutOfMemoryError: GC overhead limit exceeded
> >
> > In general Ctakes scripts launch the app with parameters that specify the
> > memory needed, but if either these are left out, or the machine itself
> > doesn’t have the available resources, you will get this error.
> >
> > - Peter
> >
> > Sent from my iPad
> >
> > > On Jun 1, 2018, at 02:51, Ankit Bisht 
> > wrote:
> > >
> > > Hello Rehan,
> > >
> > > Are you talking about the below messages? I took them from CAS visual
> > debugger tool = > Tools => View log file .  I have also attached the
> > snapshot of exception that I am getting. Please let me know if you need
> > anything else.
> > >
> > > 10:58:42.492 - 1: org.apache.uima.tools.cvd.
> > MainFrame.handleException(526): SEVERE: Initialization of annotator
> class
> > "org.apache.ctakes.dictionary.lookup2.ae.DefaultJCasTermAnnotator"
> > failed.  (Descriptor: file:/C:/Users/ankit/Desktop/
> > apache-ctakes-4.0.0/desc/ctakes-dictionary-lookup-fast/
> > desc/analysis_engine/UmlsLookupAnnotator.xml)
> > > org.apache.uima.resource.ResourceInitializationException:
> > Initialization of annotator class "org.apache.ctakes.dictionary.
> lookup2.ae
> > .DefaultJCasTermAnnotator" failed.  (Descriptor:
> > file:/C:/Users/ankit/Desktop/apache-ctakes-4.0.0/desc/
> > ctakes-dictionary-lookup-fast/desc/analysis_engine/
> > UmlsLookupAnnotator.xml)
> > >   at org.apache.uima.analysis_engine.impl.
> > PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(
> > PrimitiveAnalysisEngine_impl.java:271)
> > >   at org.apache.uima.analysis_engine.impl.
> > PrimitiveAnalysisEngine_impl.initialize(PrimitiveAnalysisEngine_impl.
> > java:170)
> > >   at org.apache.uima.impl.AnalysisEngineFactory_impl.
> > produceResource(AnalysisEngineFactory_impl.java:94)
> > >   at org.apache.uima.impl.CompositeResourceFactory_impl.
> > produceResource(CompositeResourceFactory_impl.java:62)
> > >   at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.
> > java:279)
> > >   at org.apache.uima.UIMAFramework.produceAnalysisEngine(
> > UIMAFramework.java:407)
> > >   at org.apache.uima.analysis_engine.asb.impl.ASB_impl.
> > setup(ASB_impl.java:256)
> > >   at org.apache.uima.analysis_engine.impl.
> > AggregateAnalysisEngine_impl.initASB(AggregateAnalysisEngine_impl.
> > java:429)
> > >   at org.apache.uima.analysis_engine.impl.
> > AggregateAnalysisEngine_impl.initializeAggregateAnalysisEng
> > ine(AggregateAnalysisEngine_impl.java:373)
> > >   at org.apache.uima.analysis_engine.impl.
> > AggregateAnalysisEngine_impl.initialize(AggregateAnalysisEngine_impl.
> > java:186)
> > >   at org.apache.uima.impl.AnalysisEngineFactory_impl.
> > produceResource(AnalysisEngineFactory_impl.java:94)
> > >   at org.apache.uima.impl.CompositeResourceFactory_impl.
> > produceResource(CompositeResourceFactory_impl.java:62)
> > >   at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.
> > java:279)
> > >   at org.apache.uima.UIMAFramework.produceAnalysisEngine(
> > UIMAFramework.java:371)
> > >   at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.
> > java:1484)
> > >   at org.apache.uima.tools.cvd.MainFrame.loadAEDescriptor(
> > MainFrame.java:476)
> > >   at org.apache.uima.tools.cvd.CVD.main(CVD.java:164)
> > > Caused by: org.apache.uima.resource.ResourceInitializationException:
> > MESSAGE LOCALIZATION FAILED: Can't find resource for bundle java.util.
> PropertyResourceBundle,
> > key Could not construct org.apache.ctakes.dictionary.lookup2.dictionary.
> > UmlsJdbcRareWordDictionary
> > >   at org.apache.ctakes.dictionary.lookup2.ae.
> > AbstractJCasTermAnnotator.initialize(AbstractJCasTermAnnotator.java:131)
> > >   at org.apache.uima.analysis_engine.impl.
> > PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(
> > PrimitiveAnalysisEngine_impl.java:266)
> > >   ... 16 more
> > > Caused by: org.apache.uima.analysis_engine.annotator.
> AnnotatorContextException:
> > MESSAGE 

Re: Regarding Apached cTakes

2018-06-01 Thread Ankit Bisht
Thanks Peter. I have not done that before. How could it be done?
Would it be done like this:
java -Xms512M -Xmx3g ClassName?

-Ankit

On Fri, Jun 1, 2018 at 12:05 PM, Peter Abramowitsch  wrote:

> That's good.  But the fact that the stack trace shows you're out of memory,
> probably indicates that the JVM memory related args are not successfully
> being passed.
> They should be  set to -Xms512M -Xmx3g  or greater.
>
> Peter
>
> On Fri, Jun 1, 2018 at 5:03 PM, Ankit Bisht 
> wrote:
>
> > Hello Peter,
> >
> > Thanks for showing your concern on this issue. The machine on which I am
> > running cTakes has  32 GB of Ram and 100 GB of Memory left.
> >
> > -Ankit
> >
> > On Fri, Jun 1, 2018 at 2:31 AM, Peter Abramowitsch <
> > pabramowit...@gmail.com>
> > wrote:
> >
> > > Hi Ankit
> > >
> > > It looks like your answer is near the bottom of the stacktrace you
> sent.
> > > The machine is out of memory.   In general with these traces the root
> > cause
> > > of an error will be near the bottom, but as it is propagated up the
> many
> > > layers of the application, the messages become more generic.
> > >
> > > So in your case the root cause is:
> > > > Caused by: org.hsqldb.HsqlException: error in script file line:
> 1141005
> > > java.lang.OutOfMemoryError: GC overhead limit exceeded
> > >
> > > In general Ctakes scripts launch the app with parameters that specify
> the
> > > memory needed, but if either these are left out, or the machine itself
> > > doesn’t have the available resources, you will get this error.
> > >
> > > - Peter
> > >
> > > Sent from my iPad
> > >
> > > > On Jun 1, 2018, at 02:51, Ankit Bisht 
> > > wrote:
> > > >
> > > > Hello Rehan,
> > > >
> > > > Are you talking about the below messages? I took them from CAS visual
> > > debugger tool = > Tools => View log file .  I have also attached the
> > > snapshot of exception that I am getting. Please let me know if you need
> > > anything else.
> > > >
> > > > 10:58:42.492 - 1: org.apache.uima.tools.cvd.
> > > MainFrame.handleException(526): SEVERE: Initialization of annotator
> > class
> > > "org.apache.ctakes.dictionary.lookup2.ae.DefaultJCasTermAnnotator"
> > > failed.  (Descriptor: file:/C:/Users/ankit/Desktop/
> > > apache-ctakes-4.0.0/desc/ctakes-dictionary-lookup-fast/
> > > desc/analysis_engine/UmlsLookupAnnotator.xml)
> > > > org.apache.uima.resource.ResourceInitializationException:
> > > Initialization of annotator class "org.apache.ctakes.dictionary.
> > lookup2.ae
> > > .DefaultJCasTermAnnotator" failed.  (Descriptor:
> > > file:/C:/Users/ankit/Desktop/apache-ctakes-4.0.0/desc/
> > > ctakes-dictionary-lookup-fast/desc/analysis_engine/
> > > UmlsLookupAnnotator.xml)
> > > >   at org.apache.uima.analysis_engine.impl.
> > > PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(
> > > PrimitiveAnalysisEngine_impl.java:271)
> > > >   at org.apache.uima.analysis_engine.impl.
> > > PrimitiveAnalysisEngine_impl.initialize(PrimitiveAnalysisEngine_impl.
> > > java:170)
> > > >   at org.apache.uima.impl.AnalysisEngineFactory_impl.
> > > produceResource(AnalysisEngineFactory_impl.java:94)
> > > >   at org.apache.uima.impl.CompositeResourceFactory_impl.
> > > produceResource(CompositeResourceFactory_impl.java:62)
> > > >   at org.apache.uima.UIMAFramework.
> produceResource(UIMAFramework.
> > > java:279)
> > > >   at org.apache.uima.UIMAFramework.produceAnalysisEngine(
> > > UIMAFramework.java:407)
> > > >   at org.apache.uima.analysis_engine.asb.impl.ASB_impl.
> > > setup(ASB_impl.java:256)
> > > >   at org.apache.uima.analysis_engine.impl.
> > > AggregateAnalysisEngine_impl.initASB(AggregateAnalysisEngine_impl.
> > > java:429)
> > > >   at org.apache.uima.analysis_engine.impl.
> > > AggregateAnalysisEngine_impl.initializeAggregateAnalysisEng
> > > ine(AggregateAnalysisEngine_impl.java:373)
> > > >   at org.apache.uima.analysis_engine.impl.
> > > AggregateAnalysisEngine_impl.initialize(AggregateAnalysisEngine_impl.
> > > java:186)
> > > >   at org.apache.uima.impl.AnalysisEngineFactory_impl.
> > > produceResource(AnalysisEngineFactory_impl.java:94)
> > > >   at org.apache.uima.impl.CompositeResourceFactory_impl.
> > > produceResource(CompositeResourceFactory_impl.java:62)
> > > >   at org.apache.uima.UIMAFramework.
> produceResource(UIMAFramework.
> > > java:279)
> > > >   at org.apache.uima.UIMAFramework.produceAnalysisEngine(
> > > UIMAFramework.java:371)
> > > >   at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.
> > > java:1484)
> > > >   at org.apache.uima.tools.cvd.MainFrame.loadAEDescriptor(
> > > MainFrame.java:476)
> > > >   at org.apache.uima.tools.cvd.CVD.main(CVD.java:164)
> > > > Caused by: org.apache.uima.resource.ResourceInitializationException:
> > > MESSAGE LOCALIZATION FAILED: Can't find resource for bundle java.util.
> > PropertyResourceBundle,
> > > key Could not construct org.apache.ctakes.dictionary.
> lookup2.dictionary.
> > >