Hi
I had this issue I went through so many different things
But I found the problem
It's the minions
I logged out of my world with them working
They have dropped a unbelievably large amount of entities in my world
I basically had to slowly crawl out of the chunk to force them to despawn
Now my world is fine again
Hoped I helped