limit memory for plugin utility
This commit is contained in:
parent
5fa8dad4bf
commit
a8af4e962b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue