Skip to content

Remove handling of -1 as value for MAXIMUM_MEMORY. NFC - #14809

Merged
sbc100 merged 1 commit into
mainfrom
max_memory
Aug 5, 2021
Merged

sbc100 merged 1 commit into
mainfrom
max_memory

Conversation

@sbc100

@sbc100 sbc100 commented Aug 5, 2021 •

Copy link
Copy Markdown
Collaborator

It was previously possible for MAXIMUM_MEMORY to be set to -1. In
fact it was the default. However since #10601, it is no longer the
default and there is no way to set it to -1.

@sbc100 sbc100 changed the title Remove handling for MAXIMUM_MEMORY == -1. NFC Remove handling of -1 as value for MAXIMUM_MEMORY. NFC Aug 5, 2021
@sbc100
sbc100 requested a review from kripken August 5, 2021 19:05
It was previously possible for MAXIMUM_MEMORY to be set to -1. In
fact it was the default.  However since #10601, it is no longer the
default and there is no way to set it to -1.

Also, error out if MAXIMUM_MEMORY is specified without
ALLOW_MEMORY_GROWTH.
@sbc100
sbc100 enabled auto-merge (squash) August 5, 2021 20:13
@sbc100
sbc100 disabled auto-merge August 5, 2021 20:13
@sbc100
sbc100 enabled auto-merge (squash) August 5, 2021 20:13
@sbc100
sbc100 merged commit d0ddb39 into main Aug 5, 2021
@sbc100
sbc100 deleted the max_memory branch August 5, 2021 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants