When I update my server to either paper or spigot 1.17 and try to start the server, it eventually has an error: "java.lang.OutOfMemoryError: Java Heap Space", and when the error occurs the server gets stuck on "stopping" for quite a while.
as for plugins the server has multiverse, multiverse portals, and multiverse inventories.
Unsure how to proceed, I don't know what could be causing a memory error consistently like that