can't post.sh/post.jar

2007-06-18 Thread michael ravits
hello solrs! I get the following error on windows when trying to index an ~60mb xml file with post.jar. Also couldn't get post.sh to work - anyone successfully ran it on windows? C:\solr\example\exampledocsjava -jar post.jar flix.xml SimplePostTool: version 1.2 SimplePostTool: WARNING: Make

Re: can't post.sh/post.jar

2007-06-18 Thread Ryan McKinley
If you are dealing with such large files, you need to make sure the JVM has a big enough heap. Try starting java with -mx100m (-mx2G if you have it) java -mx100m -jar post.jar flix.xml The solr server also needs to be started with enough memory... ryan michael ravits wrote: hello

Re: can't post.sh/post.jar

2007-06-18 Thread Thierry Collogne
Michael, You can start the process with more memory assigned to your JVM Like this : java -Xms512m -Xmx512m -jar post.jar *.xml This will start the process with an initial memory of 512 MB and a maximum memory use of 512 MB. This is a little explanation about the memory parameters