redpanda-data/redpanda

redpanda: remove throwing if 1G of memory is not free

Closed

#2,879 opened on Nov 5, 2021

 (8 comments) (0 reactions) (0 assignees)C++ (514 forks)batch import
area/redpandagood first issuekind/enhance

Repository metrics

Stars
 (8,251 stars)
PR merge metrics
 (Avg merge 4d 14h) (242 merged PRs in 30d)

Description

Today, unless developer_mode is true, we throw if there is less than 1G of free memory on startup.

Similar to how we recommend XFS, we can recommend that 1G memory be available, but allow things to work if less is available. Redpanda works for low memory situations, and not throwing allows us to drop into memory constrained environments more easily.

JIRA Link: CORE-777

Contributor guide