APM Java Agent max_queue_size

Hi team,

Documentation question here. For max_queue_size the documentation says "The maximum size of buffered events" and the default is 512.

Is that 512 events or does it refer to the memory size of the queue? And if it is memory size, is it in kilobytes, megabyte, or something else?

Max_queue_size
https://www.elastic.co/guide/en/apm/agent/java/current/config-reporter.html#config-max-queue-size

Thanks!
Adam

The size is the number of events that can be buffered. An event can be a span, transaction, or error. The actual heap size can't be easily determined.

Roger that. Thank you for the quick response!