Out Of Memory when writing lots of datapoints

Aperta
#301 9 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@bednar ci sta già lavorando.

Dal 7/10/2022.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug enhancement

Hi,
We are having an application that crashes with an OutOfMemory exception.

We are having trouble when writing data to Influx with the "WritePoint" method.
We are writing ~2000 datapoints per 10ms per thread(there are 2 threads at this point in time writing data).
When writing these datapoints memory keeps piling up by 10mb per minute and never going down untill we stop writing for a short while or eventually hit an OutOfMemory.
Setting the FlushInterval higher seems to migitate the problem, but memory still increases(albeit at a slower rate).
Using only one thread for writing data also migitates the problem, but it takes 3 days to run out of memory.

We are using:
Client version: 4.0.0.0
InfluxDB Version: 2.1.0
Platform: Windows 10 (different systems with different specs).
FlushIntervals used: 10, 500, 1000, 2000.

Would it be possible to improve the API that the API notices that it cannot handle the load?

InfluxOutOfMemory

Lingua principale
C#
Stelle
377
Fork
93
Merge medio
9g 2h
PR unite (30g)
1

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di influxdata/influxdb-client-csharp

Tutte le issue di influxdata/influxdb-client-csharp

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.