How much RAM does OH Use For You?

Yes.

I am on 2.2. and all of a sudden, accessing the PaperUI is not possible anymore - accessing the OH page in my browser takes a long time, and I see only the OpenHAB Log Viewer tile. Until yesterday evening, everything was fine.

I see the log entry below.

Running the bash command in this this thread returns:

ps -eo vsz,command | grep openhab | grep -v grep | cut -d ’ ’ -f 1

2069920
124240

Both

ssh -p 8101 openhab@localhost ‘bundle:list | grep -c Active’
ssh -p 8101 openhab@localhost ‘smarthome:items list | grep -c .*’

I can’t test as I am not able to access the console. I will probably be able to test after rebooting my Pi.

wc -l /etc/openhab2/rules/*.rules | tail -n 1

1354

2017-12-24 03:00:55.263 [ERROR] [ore.internal.events.OSGiEventManager] - Dispatching/filtering event for subscriber ‘org.eclipse.smarthome.core.events.EventSubscriber’ failed: unable to create new native thread
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method) ~[?:?]
at java.lang.Thread.start(Thread.java:717) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:957) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1378) ~[?:?]
at org.eclipse.smarthome.core.common.QueueingThreadPoolExecutor.execute(QueueingThreadPoolExecutor.java:153) ~[109:org.eclipse.smarthome.core:0.10.0.b1]
at org.eclipse.smarthome.core.items.GenericItem.notifyListeners(GenericItem.java:228) ~[109:org.eclipse.smarthome.core:0.10.0.b1]
at org.eclipse.smarthome.core.items.GenericItem.applyState(GenericItem.java:206) ~[109:org.eclipse.smarthome.core:0.10.0.b1]
at org.eclipse.smarthome.core.items.GenericItem.setState(GenericItem.java:192) ~[109:org.eclipse.smarthome.core:0.10.0.b1]
at org.eclipse.smarthome.core.library.items.NumberItem.setState(NumberItem.java:71) ~[109:org.eclipse.smarthome.core:0.10.0.b1]
at org.eclipse.smarthome.core.internal.items.ItemUpdater.receiveUpdate(ItemUpdater.java:78) ~[109:org.eclipse.smarthome.core:0.10.0.b1]
at org.eclipse.smarthome.core.items.events.AbstractItemEventSubscriber.receive(AbstractItemEventSubscriber.java:50) ~[109:org.eclipse.smarthome.core:0.10.0.b1]
at sun.reflect.GeneratedMethodAccessor58.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) [109:org.eclipse.smarthome.core:0.10.0.b1]
at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [109:org.eclipse.smarthome.core:0.10.0.b1]
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) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]