Java heap space out of Memory Openhab Release 3.3.0

Hi,

After Upgrade to the Release 3.3.0 I constantly get this error after a day or two.
This didn’t happen with all the Milestone builds before!
Con anyone of the “gurus” read out of the message what’s going on?

Any advice will be welcome!

Aug 03 09:08:50 OpenHab3 karaf[13525]:         at org.ops4j.pax.logging.internal.TrackingLogger.warn(TrackingLogger.java:272)
Aug 03 09:08:50 OpenHab3 karaf[13525]:         at org.ops4j.pax.logging.slf4j.Slf4jLogger.log(Slf4jLogger.java:1206)
Aug 03 09:08:50 OpenHab3 karaf[13525]:         at org.eclipse.jetty.util.log.JettyAwareLogger.log(JettyAwareLogger.java:607)
Aug 03 09:08:50 OpenHab3 karaf[13525]:         at org.eclipse.jetty.util.log.JettyAwareLogger.warn(JettyAwareLogger.java:431)
Aug 03 09:08:50 OpenHab3 karaf[13525]:         at org.eclipse.jetty.util.log.Slf4jLog.warn(Slf4jLog.java:71)
Aug 03 09:08:50 OpenHab3 karaf[13525]:         at org.eclipse.jetty.util.log.Slf4jLog.warn(Slf4jLog.java:65)
Aug 03 09:08:50 OpenHab3 karaf[13525]:         at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1046)
Aug 03 09:08:50 OpenHab3 karaf[13525]:         at java.base/java.lang.Thread.run(Thread.java:829)
Aug 03 09:08:50 OpenHab3 karaf[13525]: Caused by: java.lang.OutOfMemoryError: Java heap space
Aug 03 09:08:50 OpenHab3 karaf[13525]: java.lang.OutOfMemoryError: Java heap space
~
br. Christian

I’m seeing something similar on a banana-pi. This has happened twice with 3.3.0:

Aug  2 22:17:48 banana-pi kernel: [    582]  1000   582     3887       63    20480      484             0 (sd-pam)
Aug  2 22:17:48 banana-pi kernel: [    670]  1000   670    33175      930   212992     5053             0 node
Aug  2 22:17:48 banana-pi kernel: [    682]     0   682      994       46    10240       16             0 agetty
Aug  2 22:17:48 banana-pi kernel: [    692]     0   692     1536       92    14336       20             0 agetty
Aug  2 22:17:48 banana-pi kernel: [    826]     0   826    19094      345    57344      529             0 smbd
Aug  2 22:17:48 banana-pi kernel: [    959]     0   959    18685      200    53248      511             0 smbd-notifyd
Aug  2 22:17:48 banana-pi kernel: [    960]     0   960    18686      184    53248      505             0 cleanupd
Aug  2 22:17:48 banana-pi kernel: [    970]     0   970    19091      247    55296      528             0 lpqd
Aug  2 22:17:48 banana-pi kernel: [   1174]  1000  1174     1514      106    14336       24             0 tail
Aug  2 22:17:48 banana-pi kernel: [  29332]  1000 29332      376       75    10240       34             0 karaf
Aug  2 22:17:48 banana-pi kernel: [  29395]  1000 29395   133724    15992   499712    81789             0 java
Aug  2 22:17:48 banana-pi kernel: [   5969]     0  5969     2721      409    20480      107             0 cron
Aug  2 22:17:48 banana-pi kernel: [   5970]     0  5970      376       90    10240       15             0 sh
Aug  2 22:17:48 banana-pi kernel: [   5971]     0  5971      359       81     8192       18             0 run-parts
Aug  2 22:17:48 banana-pi kernel: [   5977]     0  5977      376       89    10240       14             0 log2ram
Aug  2 22:17:48 banana-pi kernel: [   5978]     0  5978      376       94    10240       16             0 log2ram
Aug  2 22:17:48 banana-pi kernel: [   5979]     0  5979     1830      336    16384       15             0 cp
Aug  2 22:17:48 banana-pi kernel: [   5980]     0  5980     1508        8    12288       17             0 tee
Aug  2 22:17:48 banana-pi kernel: [   5998]  1000  5998   133724    16067   499712    81714             0 presenceDetecti
Aug  2 22:17:48 banana-pi kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/session-3491.scope,task=java,pid=29395,uid=100
0
Aug  2 22:17:48 banana-pi kernel: Out of memory: Killed process 29395 (java) total-vm:534896kB, anon-rss:61112kB, file-rss:3204kB, shmem-rss:0kB, UID:1000 pgtables:488kB oom_score_adj:0
Aug  2 22:17:49 banana-pi systemd[1]: session-3491.scope: A process of this unit has been killed by the OOM killer.
Aug  2 22:17:50 banana-pi systemd[1]: session-3491.scope: Succeeded.
Aug  2 22:17:50 banana-pi systemd[1]: session-3491.scope: Consumed 8h 56min 6.316s CPU time.

On my Raspberry Pi 4 I’ve edited /etc/default/openhab file and added:

EXTRA_JAVA_OPTS="-Xms1024m -Xmx2048m"

it works without problems since then.

/Sas

That’s if you have enough memory my banana-pi only has 1GB of ram. This has only been an issue since I’ve upgraded to 3.3.0.

This might be something we can track down. Do you happen to know what milestone you were on before upgrading to 3.3.0 release? That will narrow down the list of changes between the two versions and help us focus our search.

OutOfMemoryErrors mean that something has a memory leak. It could be a binding or it could be in the core so please provide:

  • version that doesn’t have the problem
  • all installed add-ons
  • which rules language(s) are you using?

What is platform host is running on?

I upgraded after each M release and RC1 release. None of them had the problem, but I don’t think the RC1 was out. My system runs out of memory about once per week.

What bindings you are running is important please list all

From addons.cfg:

package        = minimal
automation     = jsscripting
binding        = astro,ecobee,exec,insteon,netatmo,nest,network,telegram,tradfri
misc           = openhabcloud
persistence    = mapdb
transformation = map
ui             = basic

scripts are files not gui based

Hi,
running on PI 4b.

I went through 3.3.0M2 till 3.3.0M7 without any problems.
They started when I upgraded to Release 3.3.0!

that’s my list of bundles:

 ID │ State  │ Lvl │ Version                │ Name
────┼────────┼─────┼────────────────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 26 │ Active │  80 │ 3.2.0.202107080203     │ openHAB Add-ons :: Bundles :: Broadlink Binding
 27 │ Active │  80 │ 3.2.0.202110130946     │ openHAB Add-ons :: Bundles :: Automower Binding
 31 │ Active │  80 │ 2.12.6                 │ Jackson-annotations
 32 │ Active │  80 │ 2.12.6                 │ Jackson-core
 33 │ Active │  80 │ 2.12.6.1               │ jackson-databind
 34 │ Active │  80 │ 2.12.6                 │ Jackson-dataformat-YAML
 35 │ Active │  80 │ 2.12.6                 │ Jackson datatype: JSR310
 36 │ Active │  80 │ 6.2.6                  │ Woodstox
 37 │ Active │  80 │ 2.8.9                  │ Gson
 38 │ Active │  80 │ 30.1.0.jre             │ Guava: Google Core Libraries for Java
 39 │ Active │  80 │ 1.0.1                  │ Guava InternalFutureFailureAccess and InternalFutures
 40 │ Active │  80 │ 5.0.1.v20210324-2015   │ Google Guice - Core Library
 42 │ Active │  80 │ 4.8.138.v20211212-1642 │ ClassGraph
 43 │ Active │  80 │ 2.1.9                  │ swagger-annotations
 44 │ Active │  80 │ 2.1.9                  │ swagger-core
 45 │ Active │  80 │ 2.1.9                  │ swagger-integration
 46 │ Active │  80 │ 2.1.9                  │ swagger-jaxrs2
 47 │ Active │  80 │ 2.1.9                  │ swagger-models
 48 │ Active │  80 │ 2.0.2                  │ Jakarta Bean Validation API
 50 │ Active │  80 │ 2.3.3                  │ Jakarta XML Web Services API
 53 │ Active │  80 │ 3.5.7                  │ JmDNS
 54 │ Active │  80 │ 2.1.3                  │ Units of Measurement API
 56 │ Active │  80 │ 0.5.10                 │ Jollyday
 57 │ Active │  80 │ 3.2.0.v201101311130    │ ANTLR Runtime
 58 │ Active │  80 │ 1.0.0.v201105210816    │ Aopalliance Plug-in
 59 │ Active │  80 │ 1.2.2                  │ org.apache.aries.component-dsl.component-dsl
 60 │ Active │  80 │ 1.0.1                  │ Apache Aries JAX-RS Specification API
 61 │ Active │  80 │ 2.0.0                  │ Apache Aries JAX-RS Whiteboard
 63 │ Active │  80 │ 3.12.0                 │ Apache Commons Lang
 64 │ Active │  80 │ 3.4.5                  │ Apache CXF Core
 65 │ Active │  80 │ 3.4.5                  │ Apache CXF Runtime JAX-RS Frontend
 66 │ Active │  80 │ 3.4.5                  │ Apache CXF JAX-RS Client
 67 │ Active │  80 │ 3.4.5                  │ Apache CXF JAX-RS Server-Side Events Support
 68 │ Active │  80 │ 3.4.5                  │ Apache CXF Runtime Security functionality
 69 │ Active │  80 │ 3.4.5                  │ Apache CXF Runtime HTTP Transport
 77 │ Active │  80 │ 4.3.7                  │ Apache Karaf :: OSGi Services :: Event
 88 │ Active │  80 │ 1.0.0.2                │ Apache ServiceMix :: Bundles :: javax.inject
 96 │ Active │  80 │ 2.2.5                  │ XmlSchema Core
 97 │ Active │  80 │ 4.21.0                 │ Apache XBean :: OSGI Bundle Utilities
 98 │ Active │  80 │ 4.21.0                 │ Apache XBean :: Classpath Resource Finder
 99 │ Active │  80 │ 0.7.7                  │ jose4j
100 │ Active │  80 │ 2.17.0.v20190920-0401  │ EMF Common
101 │ Active │  80 │ 2.20.0.v20190920-0401  │ EMF Ecore
102 │ Active │  80 │ 2.14.0.v20190528-0725  │ EMF Change Model
103 │ Active │  80 │ 2.16.0.v20190528-0725  │ EMF XML/XMI Persistence
104 │ Active │  80 │ 3.13.0.v20200828-1034  │ Common Eclipse Runtime
132 │ Active │  80 │ 0.12.0.v20210402-1305  │ org.eclipse.lsp4j
133 │ Active │  80 │ 0.12.0.v20210402-1305  │ org.eclipse.lsp4j.jsonrpc
134 │ Active │  80 │ 2.26.0.v20220228-0748  │ Xtend Runtime Library
135 │ Active │  80 │ 2.26.0.v20220228-0748  │ Xtend Macro Interfaces
136 │ Active │  80 │ 2.26.0.v20220228-0751  │ Xtext
137 │ Active │  80 │ 2.26.0.v20220228-0758  │ Xtext Common Types
138 │ Active │  80 │ 2.26.0.v20220228-0751  │ Xtext IDE Core
139 │ Active │  80 │ 2.26.0.v20220228-0751  │ Xtext Utility
140 │ Active │  80 │ 2.26.0.v20220228-0758  │ Xbase Model
141 │ Active │  80 │ 2.26.0.v20220228-0758  │ Xbase Generic IDE Services
142 │ Active │  80 │ 2.26.0.v20220228-0748  │ Xbase Runtime Library
146 │ Active │  80 │ 9.2.0                  │ org.objectweb.asm.commons
147 │ Active │  80 │ 9.2.0                  │ org.objectweb.asm.tree
148 │ Active │  80 │ 9.2.0                  │ org.objectweb.asm.tree.analysis
149 │ Active │  80 │ 9.2.0                  │ org.objectweb.asm.util
150 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Core
151 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Marketplace Add-on Services
152 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Community Marketplace Add-on Service :: Karaf
153 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Audio
154 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: JAAS Authentication
155 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: OAuth2Client
156 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Automation
157 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Automation Media Modules
158 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Automation Script Modules
159 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Automation Script RuleSupport
160 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Automation REST API
161 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Binding XML
162 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Configuration Core
163 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Configuration Discovery
164 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Configuration mDNS Discovery
165 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Configuration Dispatcher
166 │ Active │  75 │ 3.3.0                  │ openHAB Core :: Bundles :: Configuration XML
167 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Ephemeris
168 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: ID
169 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Console
170 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Console for OSGi runtime Karaf
171 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: HTTP Interface
172 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: HTTP Interface Authentication
174 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Monitor
175 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Network I/O
176 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: REST Interface
177 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Audio REST Interface
178 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Authentication Support for the REST Interface
179 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: REST Interface :: Core
180 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: REST mDNS Announcer
181 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Sitemap REST Interface
182 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: SSE Interface
183 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: REST Interface :: Swagger 1
184 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Transformation REST Interface
185 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: UI REST Interface
186 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Voice REST Interface
187 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: mDNS Service
188 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Karaf Integration
189 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Core
190 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Items
191 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Item IDE
192 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Items Runtime
193 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Language Server
194 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Persistence
195 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Persistence IDE
196 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Persistence Runtime
197 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Rules
198 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Rule IDE
199 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Rules Runtime
200 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Script
201 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Script IDE
202 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Script Runtime
203 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Sitemap
204 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Sitemap IDE
205 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Sitemap Runtime
206 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Thing
207 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Thing IDE
208 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Model Thing Runtime
209 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Persistence
210 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Semantics
211 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: JSON Storage
212 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Thing
213 │ Active │  75 │ 3.3.0                  │ openHAB Core :: Bundles :: Thing XML
214 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Transformation Service
215 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: UI
216 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: UI Icon Support
217 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Voice
218 │ Active │  80 │ 3.3.0                  │ openHAB UI :: Bundles :: Main UI
219 │ Active │  80 │ 3.3.0                  │ openHAB UI :: Bundles :: Icon Set :: Classic
226 │ Active │  80 │ 1.0.0.201802012106     │ org.osgi:org.osgi.service.jaxrs
227 │ Active │  80 │ 1.5.0                  │ ThreeTen-Extra
228 │ Active │  80 │ 1.27.0                 │ SnakeYAML
229 │ Active │  80 │ 2.1                    │ SI Units
230 │ Active │  80 │ 2.1.0                  │ SI Quantities
231 │ Active │  80 │ 4.2.1                  │ Stax2 API
232 │ Active │  80 │ 2.1.2                  │ Units of Measurement Reference Implementation
233 │ Active │  80 │ 2.1.0                  │ Units of Measurement Common Library for Java
234 │ Active │  80 │ 1.4.19                 │ XStream Core
235 │ Active │  80 │ 4.0.45                 │ Repackaged Caucho Quercus PHP5 runtime
236 │ Active │  80 │ 2.27                   │ Dagger
237 │ Active │  80 │ 1.2.2                  │ hivemq-mqtt-client
238 │ Active │  80 │ 5.11.0                 │ jna
239 │ Active │  80 │ 5.11.0                 │ jna-platform
240 │ Active │  80 │ 1.6.2                  │ JavaMail API
241 │ Active │  80 │ 4.1.72.Final           │ Netty/Buffer
242 │ Active │  80 │ 4.1.72.Final           │ Netty/Codec
243 │ Active │  80 │ 4.1.72.Final           │ Netty/Codec/HTTP
244 │ Active │  80 │ 4.1.72.Final           │ Netty/Codec/Socks
245 │ Active │  80 │ 4.1.72.Final           │ Netty/Common
246 │ Active │  80 │ 4.1.72.Final           │ Netty/Handler
247 │ Active │  80 │ 4.1.72.Final           │ Netty/Handler/Proxy
248 │ Active │  80 │ 4.1.72.Final           │ Netty/Resolver
249 │ Active │  80 │ 2.0.46.Final           │ Netty/TomcatNative [OpenSSL - Classes]
250 │ Active │  80 │ 4.1.72.Final           │ Netty/Transport
251 │ Active │  80 │ 4.1.72.Final           │ Netty/Transport/Classes/Epoll
252 │ Active │  80 │ 4.1.72.Final           │ Netty/Transport/Native/Unix/Common
253 │ Active │  80 │ 2.2.19                 │ rxjava
254 │ Active │  80 │ 1.0.1                  │ IO.Socket Engine Client
255 │ Active │  80 │ 1.0.1                  │ IO.Socket Socket Client
257 │ Active │  80 │ 20180813.0.0           │ JSON in Java
258 │ Active │  80 │ 5.2.1.OH1              │ nrjavaserial
259 │ Active │  80 │ 3.7.2                  │ Apache Commons Net
260 │ Active │  80 │ 1.9.3                  │ Apache OpenNLP Tools
261 │ Active │  80 │ 3.8.1.1                │ Apache ServiceMix :: Bundles :: okhttp
262 │ Active │  80 │ 1.13.0.1               │ Apache ServiceMix :: Bundles :: okio
263 │ Active │  80 │ 2.0.0                  │ Californium (Cf) Core
264 │ Active │  80 │ 2.0.0                  │ Californium (Cf) Element Connector
265 │ Active │  80 │ 2.0.0                  │ Californium (Cf) OSGi
266 │ Active │  80 │ 2.0.0                  │ Scandium (Sc) Core
267 │ Active │  80 │ 2.1.2                  │ Java Concurrency Tools Core Library
268 │ Active │  80 │ 2.6.1                  │ JUPnP Library
270 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Airquality Binding
271 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Amazon Dash Button Binding
272 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Amazon Echo Control Binding
273 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Astro Binding
274 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Automower Binding
275 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Broadlink Thermostat Binding
276 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Exec Binding
277 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Fine Offset Weather Station
278 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: GPSTracker Binding
279 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Home Connect Binding
280 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: HP Printer Binding
281 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: HTTP Binding
282 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: iCalendar Binding
284 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: IPP Binding
285 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: KM200 Binding
286 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Log Reader Binding
287 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Mail Binding
288 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: MQTT Broker Binding
289 │ Active │  81 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: MQTT EspMilightHub
290 │ Active │  81 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: MQTT Things and Channels
291 │ Active │  82 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: MQTT HomeAssistant Convention
292 │ Active │  82 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: MQTT Homie Convention
293 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Network Binding
294 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: NTP Binding
295 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: OpenUV Binding
296 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: OpenWeatherMap Binding
297 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Pushover Binding
298 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Remote openHAB Binding
299 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Renault Binding
300 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: SamsungTV Binding
301 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Shelly Binding
302 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Samsung Smartthings Binding
303 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: SNMP Binding
304 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: WiFiLED Binding
305 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: ZWave Binding
306 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Configuration UPnP Discovery
307 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Configuration USB-Serial Discovery
308 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Configuration USB-Serial Discovery for Linux using sysfs scanning
309 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Configuration USB-Serial Discovery using ser2net mDNS scanning
310 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Configuration Serial
311 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: MQTT Transport
312 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Serial Transport
313 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Serial Transport for RXTX
314 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: Serial Transport for RFC2217
315 │ Active │  80 │ 3.3.0                  │ openHAB Core :: Bundles :: UPnP Transport
316 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: IO :: Homekit
317 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: IO :: openHAB Cloud Connector
319 │ Active │  75 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Transformation Service :: Binary To JSON
320 │ Active │  75 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Transformation Service :: Exec
321 │ Active │  75 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Transformation Service :: JavaScript
322 │ Active │  75 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Transformation Service :: JSonPath
323 │ Active │  75 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Transformation Service :: Map
324 │ Active │  75 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Transformation Service :: RegEx
325 │ Active │  75 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Transformation Service :: Scale
326 │ Active │  75 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Transformation Service :: XPath
327 │ Active │  75 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Transformation Service :: Xslt
328 │ Active │  80 │ 3.3.0                  │ openHAB UI :: Bundles :: Basic UI
329 │ Active │  80 │ 3.3.0                  │ openHAB UI :: Bundles :: CometVisu :: Backend
330 │ Active │  80 │ 3.3.0                  │ openHAB UI :: Bundles :: CometVisu :: PHP Support
331 │ Active │  80 │ 3.3.0                  │ openHAB UI :: Bundles :: HABot Interactive Bot
332 │ Active │  80 │ 3.3.0                  │ openHAB UI :: Bundles :: HABPanel UI
333 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Voice :: Mary Text-to-Speech
334 │ Active │  80 │ 1.0.3                  │ reactive-streams
335 │ Active │  80 │ 3.4.0                  │ RRD4J
337 │ Active │  80 │ 3.2.0.202202230038     │ openHAB Add-ons :: Bundles :: ConnectedCar Binding
338 │ Active │  80 │ 3.4.0.202207121439     │ openHAB Add-ons :: Bundles :: iCloud Binding
339 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: iCloud Binding
340 │ Active │  80 │ 3.3.0                  │ openHAB Add-ons :: Bundles :: Persistence Service :: InfluxDB

br. Christian

I enabled metrics and will keep an eye on them Grafana

Not exactly. Java crashes with this error when the maximum heap it’s set to use is exhausted. While that happens when you have a memleak, it might also be the consequence of some “regular” increase in RAM usage which can happen when you add OH components or update OH software as newer versions usually use more mem.

Not exactly. -Xmx tells Java when to crash. Increasing that will not change anything about the amount of memory OH uses so all by itself that won’t slow your box down.
On a tight machine, you might see more paging, even more so with -Xms (but then only at startup).

Not fully true either. It specifies the maxium memory allocation pool. It is quite common to have the same value for xms and xmx, it does not imply that java will.crash.

I also had problems with the heap space.
In my case the error occurred when I requested data over a longer period of time in a chart (analyze item).
So increasing size of EXTRA_JAVA_OPTS fixed that for me.

For debugging you can use the “new” heap space channels from Systeminfo - Binding:

If you have the binding already in use, you might have to recreate your thing, so the channel will appear.

That it does. What’s not true about my statement?
Java intentionally terminates if that pool is exhausted (I called that a crash let’s not be picky on wording).
It’s set to a JVM default based on physmem and is likely what the OP hits, and this can be worked around by increasing -Xmx.