Where can i set APM-Server Memory Settings?

Can I somewhere set the Memory Limits for APM-Server? Or is it defined by the queue.mem setting?

Thanks.

Hi @gruselglatz,
there's no dedicated APM Server setting for limiting the memory, as you already mentioned you can set the size of the in-memory queue (however the actual memory consumption for it depends on the size of the events).

OK Thanks, is there some calc or estimation i can use like queue.mem.events: 16K = 1Gb memory?

As far as I know we do not have anything readily available to estimate memory usage, but I think you could get a rough approximation by using the storage size estimations at https://www.elastic.co/guide/en/apm/server/current/sizing-guide.html#typical-storage.

Just bear mind that the size depends heavily on the application, agent, and which instrumentation is enabled. The size of transactions and spans may vary considerably, based on their contents.