stibi commented on issue #658:
URL: https://github.com/apache/solr-operator/issues/658#issuecomment-1822474972
Ouch, so maybe I wasn't so wrong about it ... I removed the `JAVA_HEAP` env
var, but the exporter started to failing with `java.lang.OutOfMemoryError: Java
heap space`. Here we go, full circle :D
So I had to put the `JAVA_HEAP` back to see how much java heap space it
actually needs and the number is 5G. With that much heap space, the exporter is
running without error. But it takes quite some time to collect all the metrics,
isn't that weird?
```
INFO - 2023-11-22 09:53:39.225;
org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Completed
metrics collection
INFO - 2023-11-22 09:54:39.226;
org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Beginning
metrics collection
INFO - 2023-11-22 09:55:15.506;
org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Completed
metrics collection
INFO - 2023-11-22 09:56:15.506;
org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Beginning
metrics collection
INFO - 2023-11-22 09:56:53.088;
org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Completed
metrics collection
INFO - 2023-11-22 09:57:53.088;
org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Beginning
metrics collection
INFO - 2023-11-22 09:58:29.369;
org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Completed
metrics collection
INFO - 2023-11-22 09:59:29.369;
org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Beginning
metrics collection
INFO - 2023-11-22 10:00:06.842;
org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Completed
metrics collection
INFO - 2023-11-22 10:01:06.842;
org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Beginning
metrics collection
INFO - 2023-11-22 10:01:41.788;
org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Completed
metrics collection
INFO - 2023-11-22 10:02:41.788;
org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Beginning
metrics collection
INFO - 2023-11-22 10:03:22.174;
org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Completed
metrics collection
INFO - 2023-11-22 10:04:22.174;
org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Beginning
metrics collection
INFO - 2023-11-22 10:04:57.249;
org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Completed
metrics collection
INFO - 2023-11-22 10:05:57.250;
org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Beginning
metrics collection
```
I was able to take a heap dump, using the `jattach` utility (awesome it's
packaged with the container image, thanks for that!), but I guess I don't
really know how to properly read it .. it says that the heap size is only
23549096B big ... which is 23.549096 MB? That's not so much.
<img width="1206" alt="Screenshot 2023-11-22 at 11 12 25"
src="https://github.com/apache/solr-operator/assets/57834/ea0f99bf-bfb9-4804-9889-4a6c84404e54">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]