From e0b558976ee23749ba1d19ab57c51f4eeb92b654 Mon Sep 17 00:00:00 2001 From: Eric Romano Date: Thu, 28 Dec 2017 17:27:29 -0500 Subject: [PATCH] update default memoryLimit --- src/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index ae7a779..9cc2ceb 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -12,7 +12,7 @@ export async function activate(context: vscode.ExtensionContext): Promise const conf = vscode.workspace.getConfiguration('php'); const executablePath = conf.get('executablePath') || 'php'; - const memoryLimit = conf.get('memoryLimit') || '-1'; + const memoryLimit = conf.get('memoryLimit') || '4G'; if (memoryLimit !== '-1' && !/^\d+[KMG]?$/.exec(memoryLimit)) { const selected = await vscode.window.showErrorMessage(