VictoriaMetrics/lib/protoparser/vmimport
Roman Khavronenko 26242f526e
lib/protoparser: decrease import.maxLineLen from 100MB to 10MB (#5364)
Tests showed that importing a single line with 70MB size takes 5.3GiB
RSS memory for VictoriaMetrics single-node.
In the scenario when user exports and imports data from one VM to another,
it could possibly lead to OOM exception for destination VM.

Importing a single line with 16MB size taks 1.3GiB RSS memory.
Hence, the limit for `import.maxLineLen` was decreased from 100MB to 10MB
to improve reliability of VictoriaMetrics during imports.

Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-11-24 13:13:33 +02:00
..
stream lib/protoparser: decrease import.maxLineLen from 100MB to 10MB (#5364) 2023-11-24 13:13:33 +02:00
parser.go lib/promauth: follow-up for e16d3f5639 2023-10-26 09:55:47 +02:00
parser_test.go app: follow-up after ec04fcac93 2022-10-06 14:54:15 +03:00
parser_timing_test.go app/vmagent: initial implementation for vmagent 2020-02-23 17:31:54 +02:00