The thing is:
after a restart I got a java heap space error after less than 60 min.
EDIT:
This did not happen last week (AEC binding was removed) - however this was with M4 (have M5 today).
I will do another test with M5 and without AEC binding.
Same thing, with amazon echo control it happened again.
2018-11-16 21:41:44.048 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'EventSubscriber.receive()' on 'org.eclipse.smarthome.core.internal.items.ItemUpdater@1ebbd82': Java heap space java.lang.OutOfMemoryError: Java heap space
Alright - thank you very much for the lightning fast response.
So changing the log level in karaf will persist after restart without touching a loglevel file?
Sorry, I was ususally able to figure out the issues without a log level change
Even if you issue log:set DEFAULT ... it will stay there. I usually go in once a month and remove those autogenerated entries and keep my custom config
I know this file (removed some obsolete stuff from events.log like CPU and Mem messages of system info binding), but I prefer karaf because messing up the config file manually is too easy
I assume youâre located in Europe as well if you are up right now.
or US West coast
By the way, I donât see DEBUG entries in the openhab.log.
I switched this on for zwave as well (which should send a lot of DEBUG messages), but I donât see them either.
Did you ever analyze the generated heapdump file? With this option it generates a copy of the Java memory to a file when it runs out of memory. So you can analyze what is the root cause and if there is a memory leak.
2018-11-17 19:14:21.134 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2018-11-17 19:14:21.755 [INFO ] [arthome.model.script.moverules.rules] - system started triggered
2018-11-17 19:14:21.764 [INFO ] [arthome.model.script.moverules.rules] - timer already existing
2018-11-17 19:14:21.777 [INFO ] [marthome.model.script.startup.rules:] - --------> System / Config reloaded <--------.
...
2018-11-17 19:41:00.090 [DEBUG] [control.internal.WebSocketConnection] - Send Ping
2018-11-17 19:41:00.112 [DEBUG] [control.internal.WebSocketConnection] - Send message with length 98
2018-11-17 19:41:00.228 [DEBUG] [control.internal.WebSocketConnection] - Pong received
2018-11-17 19:43:24.098 [WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.eclipse.smarthome.core.internal.items.ItemUpdater@d3076c' takes more than 5000ms.
2018-11-17 19:44:00.254 [DEBUG] [control.internal.WebSocketConnection] - Send Ping
2018-11-17 19:44:00.380 [DEBUG] [control.internal.WebSocketConnection] - Send message with length 98
2018-11-17 19:44:00.488 [DEBUG] [control.internal.WebSocketConnection] - Pong received
2018-11-17 19:44:19.045 [WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.openhab.core.events.internal.EventBridge@1bef69' takes more than 5000ms.
2018-11-17 19:44:37.310 [WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.eclipse.smarthome.core.internal.items.ItemUpdater@d3076c' takes more than 5000ms.
2018-11-17 19:45:48.218 [WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.eclipse.smarthome.core.internal.items.ItemUpdater@d3076c' takes more than 5000ms.
2018-11-17 19:46:06.017 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'EventSubscriber.receive()' on 'org.eclipse.smarthome.core.internal.items.ItemUpdater@d3076c': Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3332) ~[?:?]
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124) ~[?:?]
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:448) ~[?:?]
at java.lang.StringBuffer.append(StringBuffer.java:270) ~[?:?]
at java.io.StringWriter.write(StringWriter.java:112) ~[?:?]
at com.google.gson.stream.JsonWriter.string(JsonWriter.java:585) ~[?:?]
at com.google.gson.stream.JsonWriter.value(JsonWriter.java:419) ~[?:?]
at com.google.gson.internal.bind.TypeAdapters$16.write(TypeAdapters.java:422) ~[?:?]
at com.google.gson.internal.bind.TypeAdapters$16.write(TypeAdapters.java:406) ~[?:?]
at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:69) ~[?:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:125) ~[?:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:243) ~[?:?]
at com.google.gson.Gson.toJson(Gson.java:669) ~[?:?]
at com.google.gson.Gson.toJson(Gson.java:648) ~[?:?]
at com.google.gson.Gson.toJson(Gson.java:603) ~[?:?]
at com.google.gson.Gson.toJson(Gson.java:583) ~[?:?]
at org.eclipse.smarthome.core.events.AbstractEventFactory.serializePayload(AbstractEventFactory.java:85) ~[?:?]
at org.eclipse.smarthome.core.items.events.ItemEventFactory.createStateChangedEvent(ItemEventFactory.java:304) ~[?:?]
at org.eclipse.smarthome.core.items.GenericItem.sendStateChangedEvent(GenericItem.java:231) ~[?:?]
at org.eclipse.smarthome.core.items.GenericItem.applyState(GenericItem.java:225) ~[?:?]
at org.eclipse.smarthome.core.items.GenericItem.setState(GenericItem.java:209) ~[?:?]
at org.eclipse.smarthome.core.library.items.ImageItem.setState(ImageItem.java:64) ~[?:?]
at org.eclipse.smarthome.core.internal.items.ItemUpdater.receiveUpdate(ItemUpdater.java:78) ~[?:?]
at org.eclipse.smarthome.core.items.events.AbstractItemEventSubscriber.receive(AbstractItemEventSubscriber.java:50) ~[?:?]
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) ~[?:?]
at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:?]
2018-11-17 19:46:43.096 [WARN ] [me.core.internal.events.EventHandler] - Dispatching event to subscriber 'org.eclipse.smarthome.io.monitor.internal.EventLogger@14ad210' takes more than 5000ms.
2018-11-17 19:46:18.868 [ERROR] [me.core.internal.events.EventHandler] - Dispatching/filtering event for subscriber 'org.eclipse.smarthome.core.events.EventSubscriber' failed: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3332) ~[?:?]
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124) ~[?:?]
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:448) ~[?:?]
at java.lang.StringBuffer.append(StringBuffer.java:270) ~[?:?]
at java.io.StringWriter.write(StringWriter.java:112) ~[?:?]
at com.google.gson.stream.JsonWriter.string(JsonWriter.java:585) ~[?:?]
at com.google.gson.stream.JsonWriter.value(JsonWriter.java:419) ~[?:?]
at com.google.gson.internal.bind.TypeAdapters$16.write(TypeAdapters.java:422) ~[?:?]
at com.google.gson.internal.bind.TypeAdapters$16.write(TypeAdapters.java:406) ~[?:?]
at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:69) ~[?:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.write(ReflectiveTypeAdapterFactory.java:125) ~[?:?]
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.write(ReflectiveTypeAdapterFactory.java:243) ~[?:?]
at com.google.gson.Gson.toJson(Gson.java:669) ~[?:?]
at com.google.gson.Gson.toJson(Gson.java:648) ~[?:?]
at com.google.gson.Gson.toJson(Gson.java:603) ~[?:?]
at com.google.gson.Gson.toJson(Gson.java:583) ~[?:?]
I donât see a direct link to amazonechocontrol thoughâŠ