Troubled < Stage B < Installation < Viivi's Cell < Entrance
If Stage A works, but Stage B doesn't, then there is a problem with the boot-up file
viivi
viivi.bat
Please confirm each of the followings:
The file
viivi
is the boot-up script file for the Unix-like system.
viivi
have "readable" and "executable" properties? $ chmod ugo+rx viivi
to set
the boot-up script file
viivi
readable and executable.
[Example]
#!/bin/bash
#!/usr/bin/ksh
#!/usr/local/bin/tcsh
suitable to your environment.
The file
viivi.bat
is the boot-up batch file for the Windows system.
The batch file is expected to run on the Windows system as it is.
Please check the file
viivi.bat
if it is not broken.
If an error message
Error occurred during initialization of VM
...(See below for the the following error message)...
was shown at the boot time,
you need to change the descriptions for the memory assignments in the boot-up file.
What you need to do depends on the message following the first line:
In case of
"Too small initial heap for new size specified
",
you need to increase the memory capacity for Viivi.
In case of
"Could not reserve enough space for object heap
",
you need to decrease the memory capacity for Viivi.
In the both files,
the most important part for booting Viivi is the line
beginning with
java
:
In the file viivi
:
java -Xss512m -Xms1024m -Xmx2048m -jar ${VIIVI_HOME}Viivi.jar ${*}
In the file viivi.bat
: java -Xss512m -Xms1024m -Xmx2048m -jar %VIIVI_HOME%Viivi.jar %1 %2 ... %8 %9
The first three arguments provided for the
java
command represents the memory assignments
for the three different purposes:
-Xss512m assign 512MB to the JVM stack
-Xms1024m assign 1024MB to the minimum size of the JVM heap
-Xmx2048m assign 2048MB to the maximum size of the JVM heap
Please use these values as a reference
and adjust the memory assignments of the three arguments
to suit your environment,
in order to boot Viivi.
Troubled < Stage B < Installation < Viivi's Cell < Entrance
Exhibited on 2022/03/02
Updated on 2022/03/10
Copyright(C) 2003-2022 ilma <ilma@viivi.io> All rights reserved.