limit memory for plugin utility

This commit is contained in:
Damien Hardy 2012-01-04 17:10:37 +01:00 committed by Shay Banon
parent 5fa8dad4bf
commit a8af4e962b
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ set SCRIPT_DIR=%~dp0
for %%I in ("%SCRIPT_DIR%..") do set ES_HOME=%%~dpfI
"%JAVA_HOME%\bin\java" -Des.path.home="%ES_HOME%" -cp "%ES_HOME%/lib/*" "org.elasticsearch.plugins.PluginManager" %*
"%JAVA_HOME%\bin\java" -Xmx64m -Xms16m -Des.path.home="%ES_HOME%" -cp "%ES_HOME%/lib/*" "org.elasticsearch.plugins.PluginManager" %*
goto finally
@ -19,4 +19,4 @@ pause
:finally
ENDLOCAL
ENDLOCAL