#ifndef DD_TRACE_MEMORY_LIMIT_H
#define DD_TRACE_MEMORY_LIMIT_H

#include <stdbool.h>
#include <stdint.h>

#define ALLOWED_MAX_MEMORY_USE_IN_PERCENT_OF_MEMORY_LIMIT 0.8

int64_t ddtrace_get_memory_limit(void);
bool ddtrace_is_memory_under_limit(void);

#endif  // DD_TRACE_MEMORY_LIMIT_H
