VictoriaMetrics/lib/protoparser/common
Roman Khavronenko 0cf55ded34
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 12:53:04 +02:00
..
compress_reader.go app/{vminsert,vmagent}: add ability to ingest data via DataDog "submit metrics" API 2021-09-29 00:13:08 +03:00
extra_labels.go fixed label values decoding for pushgateway compatibility (#4727) 2023-07-27 17:09:28 +02:00
extra_labels_test.go fixed label values decoding for pushgateway compatibility (#4727) 2023-07-27 17:09:28 +02:00
lines_reader.go lib/protoparser: decrease import.maxLineLen from 100MB to 10MB (#5364) 2023-11-24 12:53:04 +02:00
lines_reader_test.go Makefile: update golangci-lint from v1.51.2 to v1.54.2 2023-09-01 10:16:42 +02:00
timestamp.go lib/protoparser/common: do not read request body when parsing timestamp query arg 2020-09-11 14:44:58 +03:00
unmarshal_work.go fix some typo (#3898) 2023-03-03 11:02:13 +01:00
vmproto_handshake.go .golangci.yml: properly enable revive linter and fix all the warnings it detects 2023-02-26 12:18:59 -08:00