I was learning chain commands in practice, calling chain -sec with different options. After calling chain -sec -sort recentDesc -search “my wallet”, problems appeared. If you need something else, let me know.
Also all subsequent calls to chain -sec ended with the same “out of ERG by *****”. Restarting the node fixed the problem.
Thank you for your report @StahanOS !
Once this is investiagted I’ll be giving an update regarding this matter right over here.