Influx fatal error: out of memory

It happened a few nights before without any changes. Influx starts to restart due to “out of memory”. A piece of log is here:

[httpd] 10.77.60.1 - - [15/May/2023:15:26:53 +0000] "POST /api/v2/write?org=&bucket=XirisDB%2Fautogen&precision=ns HTTP/1.1 " 204 0 “-” “influxdb-client-js/1.32.0” eb7eb361-f334-11ed-800f-02420a4d3c04 22222
runtime: out of memory: cannot allocate 24576-byte block (682196992 in use)
fatal error: out of memory

Is there a way to find out which query crash influxdb? Is there a way to delete this query?
But maybe even more important: how can I allocate more memory to influx?
My influx runs on RPi4/8GB and htop shows a lot of free system memory.

Thank you for any idea