faastjs > CommonOptions > memorySize
CommonOptions.memorySize property
Memory limit for each function in MB. This setting has an effect on pricing. Default varies by provider.
Signature:
memorySize?: number;
Remarks
Each provider has different settings for memory size, and performance varies depending on the setting. By default faast picks a likely optimal value for each provider.
aws: 1728MB
local: 512MB (however, memory size limits aren't reliable in local mode.)