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(