Deactivate maintenance_mode probe
Run-> select * into maintenance_window_history_bkp from maintenance_window_history; --to backup the table
Check that the table has rows: select * from maintenance_window_history_bkp_<date>
TRUNCATE TABLE maintenance_window_history
select count(*) from maintenance_window_history --it should show 0 rows
Activate maintenance_mode
Set the java min/max to 2048 and 4096.
Then be sure to: