uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Thygesen <pt.activ...@gmail.com>
Subject Re: How do I assign more heap memory to CAS Editor Analysis Engine when running Training?
Date Thu, 29 Mar 2012 09:22:11 GMT
Using RunAE;
Must be doing something wrong. No model is created and I dont see any
scores being generated...

main class: org.apache.uima.examples.RunAE

arguments: -s2 descriptors/TokenizerTrainer.xml corpus

VM args: -Xmx1000m

Processed Document aaaaaaa.xmi


Processed Document zzzzzzz.xmi

Mar 29, 2012 11:17:00 AM opennlp.uima.tokenize.TokenizerTrainer

INFO: Collected 929 token samples.

Indexing events using cutoff of 5

 Computing event counts...  done. 0 events

Indexing...  done.

Sorting and merging events... Done indexing.

Incorporating indexed data for training...



Component Name: File System Collection Reader

Event Type: Process

Duration: 614ms (79.64%)

Result: success

Component Name: UserAE

Event Type: Analysis

Duration: 92ms (11.93%)

Component Name: UserAE

Event Type: End of Batch

Duration: 65ms (8.43%)

Total Analysis Engine Time: 0ms

Analysis: <10ms

Framework Overhead: <10ms

Den 29. mar. 2012 10.22 skrev Peter Thygesen <pt.activemq@gmail.com>:

> Hi Jörn,
> Sorry for the late reply. Caught a cold and had to spend some days home :(.
> Couldn't we log it as a feature request in your Jira? Perhaps someone else
> will encounter this problem one day.
> thx
> Peter
> Den 23. mar. 2012 10.01 skrev Jörn Kottmann <kottmann@gmail.com>:
> On 03/23/2012 12:34 AM, Peter Thygesen wrote:
>>> Trying to build a token model with UIMA CAS editor. But I get out of
>>> memory
>>> exception. The run configuration is a UIMA Analysis Engine configuration
>>> and does not have a arguments tab (like plain java apps) where I can set
>>> the command line arguments for assigning more memory....
>> There is currently no tab where you can specify VM arguments like
>> it is possible for Java apps. We need to add one.
>> Do you want to open a jira?
>> In the mean time I suggest that you use the RunAE class to do the
>> training.
>> It can be found here in our distribution:
>> apache-uima/examples/src/org/**apache/uima/examples/RunAE.**java
>> Or just add the uimaj-examples.jar to your class path, create a new
>> eclipse
>> launcher and then give it more memory.
>> Jörn

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message