All Z-wave devices stop getting commands

Platform information:

  • Hardware: Resp pi 4
  • OS: openhabian 2.5.1

Hi All
Lately I am suffering a problem with the zwave devices.
I am using a stick of UZB Zwave.Me.
From time to time the zwave commands just not arriving to the devices and a reboot to the PI is required.
In the logs I can see lines of the commands, and strange things like java exception for OutOfMemory.
Can someone guide me how can I troubleshoot this issues?

Example of logs of trying to switch ON an item name “Oomi2”
==> /var/log/openhab2/events.log <==

2020-07-07 15:47:26.055 [ome.event.ItemCommandEvent] - Item 'Oomi2' received command ON
2020-07-07 15:47:26.060 [nt.ItemStatePredictedEvent] - Oomi2 predicted to become OFF
2020-07-07 15:48:01.554 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
java.lang.OutOfMemoryError: unable to create new native thread
	at java.lang.Thread.start0(Native Method) ~[?:1.8.0_222]
	at java.lang.Thread.start( ~[?:1.8.0_222]
	at java.util.concurrent.ThreadPoolExecutor.addWorker( ~[?:1.8.0_222]
	at java.util.concurrent.ThreadPoolExecutor.ensurePrestart( ~[?:1.8.0_222]
	at java.util.concurrent.ScheduledThreadPoolExecutor.reExecutePeriodic( ~[?:1.8.0_222]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ ~[?:1.8.0_222]
	at java.util.concurrent.ThreadPoolExecutor.runWorker( [?:1.8.0_222]
	at java.util.concurrent.ThreadPoolExecutor$ [?:1.8.0_222]
	at [?:1.8.0_222]



Does someone knows how to handle this issue?
I am considering to reinstall the openhabian :frowning:

Have you the Amazon Echo binding in use?

Yes I have amazon binding.
I understand that there is a fix for that issue:
How do I apply the fix? Can someone share the steps to install please?

Do you use openhabian-config then you can install the update/fix via menu entry.
In case you do not have a openhabian installation on your Pi and openhab is installed via repository you can use

sudo apt-get update
sudo apt-get upgrade

to install the latest version.

I do have version 2.5.6 of openhabian.
But I have 2.5.0 on amazon.
How do I upgrade the amazon to 2.5.6?