To pass additional arguments to the Java Virtual Machine (JVM), you can use the -JVM script flag. For example, assume you want to override the default maximum heap size setting of 1024 MB that is hardcoded in the scripts with a setting of 2048 MB. The command line might be as follows:

.\bin\web-crawler -d 2 -s conf\web\intsites\int.lst -JVM -Xmx2g

Keep in mind that this flag must be the last flag on the command line, because any arguments that follow it are appended to those passed to the JVM.


Copyright © Legal Notices