Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential memory leak? #9

Closed
3 tasks done
Neubulae opened this issue Jul 8, 2022 · 12 comments
Closed
3 tasks done

Potential memory leak? #9

Neubulae opened this issue Jul 8, 2022 · 12 comments
Labels
bug Something isn't working

Comments

@Neubulae
Copy link

Neubulae commented Jul 8, 2022

Describe the bug
After prolonged connection, the player eventually runs out of memory. The problem doesn't exist outside a Raknet connection, and, once the problem happens, it prevents player from further rejoining the server again with Raknet, only restarting the game works.

To Reproduce
Steps to reproduce the behavior:

  1. Join server with Raknet
  2. Idle
  3. Gets kicked

Screenshots
图片

Runtime info (please complete the following information):

  • OS: Arch Linux
  • Minecraft version: 1.18.2
  • Mod version: alpha 4.16

Crash reports / logs
https://0x0.st/oQly.txt

Other mods
https://0x0.st/oQlt.txt

Checklist

  • I am using the official version of the mod.
  • I tried the latest development version but the issue persists.
  • I searched for similar open issues and could not find an existing bug report on this.
@Neubulae Neubulae added the bug Something isn't working label Jul 8, 2022
@IAmSneak
Copy link

IAmSneak commented Jul 8, 2022

I've gotten the same issue in 1.19 versions using the official version of the mod and latest development. Also happens on the server with this log

@ishland
Copy link
Contributor

ishland commented Jul 9, 2022

Try reproduce with jvm flag -Dio.netty.leakDetection.level=advanced

@ishland ishland added the question Further information is requested label Jul 9, 2022
@IAmSneak
Copy link

IAmSneak commented Jul 9, 2022

common mods:

  • axes are weapons
  • blastproof netherite
  • carpet / extra / tis
  • cloth config
  • couplings
  • fapi
  • ferritecore
  • krypton
  • lazydfu
  • lithium
  • starlight
  • raknetify (obviously)

@Neubulae
Copy link
Author

Neubulae commented Jul 9, 2022

As the log is extremely big I'll just paste it here https://0x0.st/oQhi.log

ishland added a commit that referenced this issue Jul 9, 2022
Related to #9
@ishland
Copy link
Contributor

ishland commented Jul 9, 2022

Try reproduce again with latest devbuild.

@Neubulae
Copy link
Author

Try reproduce again with latest devbuild.

reproduces, do I need to provide a log again?

@ishland
Copy link
Contributor

ishland commented Jul 10, 2022

reproduces, do I need to provide a log again?

Yes definitely

@Neubulae
Copy link
Author

it will take some time to reproduce a log, brb

ishland added a commit that referenced this issue Jul 10, 2022
@ishland
Copy link
Contributor

ishland commented Jul 10, 2022

Try reproduce with latest devbuild and provide logs if it still leaks.

@Neubulae
Copy link
Author

the log is no longer spammed by things now so I think it's now fine? I'll wait and see

@Neubulae
Copy link
Author

I don't reproduce with the latest build, thx pal.

@ishland
Copy link
Contributor

ishland commented Jul 10, 2022

Remember to remove the flag since the advanced leak detector comes with some performance overhead.

@ishland ishland removed the question Further information is requested label Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants