Joining or leaving the world again will crash my game

I created a panel that downloads images and strings from a specified URL and displays them, but it works fine in a very simple testing world. When there are too many items in the world, it crashes. My log always shows this as if it happened during the process of uninstalling world resources