From 7d8c1f3e7aa8cdc58b6a58e36624be8752fd03e7 Mon Sep 17 00:00:00 2001 From: Michal Niewrzal Date: Tue, 11 Oct 2016 21:01:04 +0200 Subject: [PATCH] Update README with --memory-limit param --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9b6fee8..24f13b8 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,7 @@ Run the tests with ## Command line arguments - --tcp host:port - +###### --tcp=host:port (optional) Causes the server to use a tcp connection for communicating with the language client instead of using STDIN/STDOUT. The server will try to connect to the specified address. @@ -39,3 +38,9 @@ Example: php bin/php-language-server.php --tcp 127.0.0.1:12345 +###### --memory-limit=integer (optional) +Sets memory limit for language server. Equivalent to [memory-limit](http://php.net/manual/en/ini.core.php#ini.memory-limit) *php.ini* directive. By default there is no memory limit. + +Example: + + php bin/php-language-server.php --memory-limit=256M