Configuring the massextract utility
Before you use the massextract utility, configure the settings for the utility to meet your environment.
Procedure
- Change the Java virtual machine (JVM) heap size that is
used for the massextract utility.
By default, the maximum amount of memory that is allocated to the JVM heap is 64 MB. If this memory size is not increased, the JVM can eventually run out of memory during the extract process. The maximum amount of memory that is allocated to the Java heap can be varied by using the JVM
-mx
option in the Java command. If you are loading files that are more than 500 MB, then increase the JVM heap size to 512 MB or 1024 MB.To modify the JVM heap size for the massextract utility:
- Open the massextract utility file for editing.
- WC_installdir/bin/ massextract.sh
- WC_installdir\bin\ massextract.cmd
- WCDE_installdir\bin\ massextract.bat
- Change the JVM heap size to 1024 MB by specifying the
-Xms
and-Xmx
options of the Java command:- If the
-Xms
and-Xmx
parameters are already specified in the file, change the values to the heap size that you want. Ensure that you update all occurrences of-Xms
and-Xmx
. - If the
-Xms
and-Xmx
parameters are not specified in the file, change all occurrences of %JAVA_HOME%\bin\java in the utility command file to %JAVA_HOME%\bin\java -Xms1024M -Xmx1024M.
- If the
- Save your changes.
- Open the massextract utility file for editing.
- Optional: By default, the massextract
utility uses the Oracle thick JDBC client. To change the massextract
utility to use the Oracle thin JDBC client:
- Open the following file in a text editor:
WC_installdir/properties/OracleConnectionCustomizer.properties
- Locate the following text:
DBURL = jdbc:oracle:oci8:@
- Change the text to match the following text:
DBURL = jdbc:oracle:thin:@
- Save your changes.
- Open the following file in a text editor: