Bug ID 1252389: The restjavad restarted per 30 seconds due to OOM

Last Modified: Mar 14, 2023

Bug Tracker

Affected Product:  See more info
BIG-IP TMOS(all modules)

Known Affected Versions:
15.1.0,,,,,, 15.1.1, 15.1.2,, 15.1.3,, 15.1.4,, 15.1.5,, 15.1.6,, 15.1.7, 15.1.8,, 16.1.0, 16.1.1, 16.1.2,,, 16.1.3,,,, 17.0.0,,

Opened: Feb 27, 2023
Severity: 3-Major


The restjavad exit immediately due to an unknown error. Uncaught error causing restjavad to exit. Thread id 32, 'com.f5.rest.workers.storage.ThreadPoolStorageRequestProcessor_13': java.lang.OutOfMemoryError: Java heap space


The restjavad is unstable and restarts frequently for every 10 to 30 seconds.


When there are many nodes involved in the device trust or the High Availability (HA) setup and many device-discovery-tasks were created as objects in REST DB storage, that is Lucene DB.


Run clear-rest-storage tool on the BIG-IP and make sure restjavad is restarted after running the tool.

Fix Information


Behavior Change