If you are running under a 64bit Microsoft VISTA system you may have to change some
of the Java Virtual Machine run time settings to use a larger Java heap space.

Specifically when you compile the system and run the tests you will have to change
the pom.xml file in uima-core to be:

<build>
   <finalName>uima-core</finalName>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
               <argLine>-Xmx1200M</argLine>
            </configuration>
       </plugin>
    </plugins>
</build>

Note that the following line

<argLine>-Xmx1200M</argLine>

the Xmx parameter has been increased.

When running the applications you will also have to modify the setUimaClassPath.bat file to be something like the following.

@if "%UIMA_JVM_OPTS%"=="" set UIMA_JVM_OPTS=-Xms128M -Xmx1600M

Let me know if you have any questions on this
dan@danmccreary.com

  • No labels