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