File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 9494 "properties" : {
9595 "php.memoryLimit" : {
9696 "type" : " string" ,
97- "default" : " 4G " ,
97+ "default" : " 4095M " ,
9898 "description" : " The memory limit of the php language server. [Number][K|M|G]. Use '-1' to allow unlimited use of the RAM (default is 4G)." ,
9999 "pattern" : " ^\\ d+[KMG]?$"
100100 },
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
1212 const conf = vscode . workspace . getConfiguration ( 'php' ) ;
1313 const executablePath = conf . get < string > ( 'executablePath' ) || 'php' ;
1414
15- const memoryLimit = conf . get < string > ( 'memoryLimit' ) || '4G ' ;
15+ const memoryLimit = conf . get < string > ( 'memoryLimit' ) || '4095M ' ;
1616
1717 if ( memoryLimit !== '-1' && ! / ^ \d + [ K M G ] ? $ / . exec ( memoryLimit ) ) {
1818 const selected = await vscode . window . showErrorMessage (
You can’t perform that action at this time.
0 commit comments