You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Dan McCreary <da...@gmail.com> on 2008/12/12 05:16:22 UTC
Getting UIMA to run on 64bit VISTA
Hi UIMA people,
Here is the change I made to get UIMA Applications to work under my
Microsoft VISTA. It turned out to be very simple.
I found that VISTA crashed the Java VM if it did not have enough heap space
memory. I suspect that this is due to a process not
checking to see if memory was available.
To change this all I had to do was run the following:
In the file UIMA_HOME/bin/setUimaClassPath.bat
change the following line:
from
@if "%UIMA_JVM_OPTS%"=="" set UIMA_JVM_OPTS=-Xms128M -Xmx*800M*
to
@if "%UIMA_JVM_OPTS%"=="" set UIMA_JVM_OPTS=-Xms128M -Xmx*1600M
*
I think that this changes the amount of heap available to *be 1.6GB* not
just* .8GM.
*We have also been trying to recompile all the sources under VISTA. We have
changed the VM parameter in the uimaj-core pom file at:
/project/build/plugins/plugin/configuration/argLine
from Xmx*800*M to be Xmx*1600*M
Special thanks to Loren Cahlander for helping me figure this out.*
*We found this by noting that the tests did have Java heap space errors.
We are still working on trying to get all the tests to run on VISTA.
- Dan*
*
--
Dan McCreary
Senior Enterprise Data Architecture and Strategy Consulting
(952) 931-9198
cell: (612) 986-1552
dan@danmccreary.com
http://www.danmccreary.com
Re: Getting UIMA to run on 64bit VISTA
Posted by Thilo Goetz <tw...@gmx.de>.
Dan McCreary wrote:
> Hi UIMA people,
>
> Here is the change I made to get UIMA Applications to work under my
> Microsoft VISTA. It turned out to be very simple.
>
> I found that VISTA crashed the Java VM if it did not have enough heap space
> memory. I suspect that this is due to a process not
> checking to see if memory was available.
>
> To change this all I had to do was run the following:
>
> In the file UIMA_HOME/bin/setUimaClassPath.bat
>
> change the following line:
>
> from
> @if "%UIMA_JVM_OPTS%"=="" set UIMA_JVM_OPTS=-Xms128M -Xmx*800M*
>
> to
> @if "%UIMA_JVM_OPTS%"=="" set UIMA_JVM_OPTS=-Xms128M -Xmx*1600M
> *
> I think that this changes the amount of heap available to *be 1.6GB* not
> just* .8GM.
>
> *We have also been trying to recompile all the sources under VISTA. We have
> changed the VM parameter in the uimaj-core pom file at:
>
> /project/build/plugins/plugin/configuration/argLine
>
> from Xmx*800*M to be Xmx*1600*M
>
> Special thanks to Loren Cahlander for helping me figure this out.*
>
> *We found this by noting that the tests did have Java heap space errors.
>
> We are still working on trying to get all the tests to run on VISTA.
>
> - Dan*
> *
>
Yes, although you *can* assign more heap space, everything also *does*
take more heap space in 64bits. This is because of the increased word
size, and many data structures are word-aligned. So you end up using
more memory than you would on a 32 bit platform.
Let us know what errors you're getting, and we may be able to help.
Unfortunately, I have no 64 bit Vista available for testing. We have
run UIMA on the MS 64 bit server platforms though, without any problems.
--Thilo