Floodgate
Floodgate copied to clipboard
Option to disable Bedrock Skins
I mainly ask for this option as a way to possibly improve performance.
Geyser + Floodgate seem to take up about 1 Gig of RAM, but I think maybe disabling bedrock skins will allow for slightly better performance, as they wont need to connect to the Skin Uploader?
While that is a fine request, we'd rather just decrease the memory consumption (or at least find out what's really taking up all that RAM instead of guessing). Are you able to send over a heap dump instead? https://www.baeldung.com/java-heap-dump-capture
I can send the heap dump, but would attaching it here be okay and the preferred method? Or how should I send it to you?
If you are able, you are free to send it here.
It doesn't seem to work, can I send the file to you via Discord?
Yes.
Honestly it seems like Dynmap is the biggest plugin affecting your RAM. Try removing that?
I already disabled Dynmap, but I still had memory issues unfortunately.
When I start my server without Geyser + Floodgate my memory usage starting out is around 2.7/4 Gigs
However, I just tried with both enabled and RAM usage starts fairly high:
Is 1 Gig of memory usage the expected amount? Or what should the memory usage roughly be?
If this is purely for improving performance then I think that closing this issue is the best thing to do as it barely affects performance / ram usage. If you're seriously interested in having an option to disable this because you don't want anyone to see (converted) Bedrock skins, I'll keep it open until we've looked into adding more config options.
Yes, I would like to have that option.