games647 / FastLogin

Checks if a minecraft player has a valid paid account. If so, they can skip offline authentication automatically. (premium auto login)
https://www.spigotmc.org/resources/fastlogin.14153
MIT License
502 stars 121 forks source link

Exception encountered when loading plugin: FastLogin #685

Closed EspartaProJunior closed 2 years ago

EspartaProJunior commented 2 years ago

What happened?

When I start the server I get an error, but it is really strange because I have enough ram assigned to the server.

[23:30:08 WARN]: Exception encountered when loading plugin: FastLogin java.lang.OutOfMemoryError: Java heap space at com.github.games647.fastlogin.core.RateLimiter.(RateLimiter.java:39) ~[?:?] at com.github.games647.fastlogin.core.shared.FastLoginCore.load(FastLoginCore.java:125) ~[?:?] at com.github.games647.fastlogin.bungee.FastLoginBungee.onEnable(FastLoginBungee.java:88) ~[?:?] at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:286) ~[server.jar:git:Waterfall-Bootstrap:1.18-R0.1-SNAPSHOT:7133a98:unknown] at net.md_5.bungee.BungeeCord.start(BungeeCord.java:283) ~[server.jar:git:Waterfall-Bootstrap:1.18-R0.1-SNAPSHOT:7133a98:unknown] at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:52) ~[server.jar:git:Waterfall-Bootstrap:1.18-R0.1-SNAPSHOT:7133a98:unknown] at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15) ~[server.jar:git:Waterfall-Bootstrap:1.18-R0.1-SNAPSHOT:7133a98:unknown] [23:30:08 INFO]: Enabled plugin CleanMOTD version 0.2.7 by 2LS

What did you expect?

No response

Steps to reproduce

start the server

Plugin list

Plugins (44): AdvancedPet, AuthMe, BetterRTP, BuycraftX, Chunky, Citizens, ClickTpa, CMILib, Codex, CommandWhitelist, ConditionalEvents, DeathMessages, eco, Essentials, EssentialsSpawn, EzChat, FastLogin, HolographicDisplays, Insights, InteractionVisualizer, Jobs, LibsDisguises, LuckPerms, MMOCore, ModelEngine, ModelEnginePatch, MoneyHunters, Multiverse-Core, MyCommand, MythicCrucible, MythicLib, MythicMobs, NexEngine, Oraxen, PlaceholderAPI, ProtocolLib, TAB, UltimateAutoRestart, Vault, ViaBackwards, ViaRewind, ViaVersion, WorldEdit, WorldGuard

Configuration file

https://www.toptal.com/developers/hastebin/vovifuqebi.yaml

Server log

https://www.toptal.com/developers/hastebin/rejolaquqa.yaml

Plugin version

1.11-SNAPSHOT-4a5516c

Platform

Spigot

Relevance

games647 commented 2 years ago

Your server doesn't have enough memory. Maybe too many plugins installed or they consume too much themselves.

EspartaProJunior commented 2 years ago

I added 2gb of ram more to my vps and the same thing appears.

El lun, 27 dic 2021 a la(s) 02:48, games647 @.***) escribió:

Your server doesn't have enough memory. Maybe too many plugins installed or they consume too much themselves.

— Reply to this email directly, view it on GitHub https://github.com/games647/FastLogin/issues/685#issuecomment-1001439376, or unsubscribe https://github.com/notifications/unsubscribe-auth/AURDLUWSX2LYZBANCTRFJKDUTAR7JANCNFSM5KZNNFHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

games647 commented 2 years ago

Okay it's your high bot connection number. In the current design of FastLogin, this number allocates the amount of memory accordingly for rate limiting. Reduce the number expire minutes and the connections accordingly. It's a issue of FastLogin. We didn't expect so high numbers.

EspartaProJunior commented 2 years ago

thank you already

El mar, 28 dic 2021 a la(s) 02:58, games647 @.***) escribió:

Okay it's your high bot connection number. In the current design of FastLogin, this number allocates the amount of memory accordingly for rate limiting. Reduce the number expire minutes and the connections accordingly. It's a issue of FastLogin. We didn't expect so high numbers.

— Reply to this email directly, view it on GitHub https://github.com/games647/FastLogin/issues/685#issuecomment-1001948086, or unsubscribe https://github.com/notifications/unsubscribe-auth/AURDLUXQOWNOROBRZTHN32TUTF34TANCNFSM5KZNNFHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>