Ckathode / archimedes-ships

Archimedes' Ships Minecraft mod
MIT License
49 stars 53 forks source link

Memory leak #14

Open LemADEC opened 9 years ago

LemADEC commented 9 years ago

Looks like there's a memory leak when we assemble/diassemble ships:

[21:45:26] [Server thread/ERROR]: Detected ongoing potential memory leak. 100 packets have leaked. Top offenders
[21:45:26] [Server thread/ERROR]:        ArchimedesShips : 87
[21:45:26] [Server thread/ERROR]:        IPPacket : 13
...
[21:56:47] [Server thread/ERROR]: Detected ongoing potential memory leak. 200 packets have leaked. Top offenders
[21:56:47] [Server thread/ERROR]:        ArchimedesShips : 185
[21:56:47] [Server thread/ERROR]:        IPPacket : 15
[21:57:07] [Craft Scheduler Thread - 551/INFO]: [HawkEye] Running cleanse utility for logs older than 2014-11-19 21:37:06
[21:57:07] [Craft Scheduler Thread - 551/INFO]: [HawkEye] Deleted 0 row(s) from database
[21:58:10] [Craft Scheduler Thread - 559/INFO]: [Metrics] Connection timed out
[22:04:26] [Server thread/ERROR]: Detected ongoing potential memory leak. 300 packets have leaked. Top offenders
[22:04:26] [Server thread/ERROR]:        ArchimedesShips : 283
[22:04:26] [Server thread/ERROR]:        IPPacket : 17
...
[22:48:16] [Server thread/ERROR]: Detected ongoing potential memory leak. 400 packets have leaked. Top offenders
[22:48:16] [Server thread/ERROR]:        ArchimedesShips : 383
[22:48:16] [Server thread/ERROR]:        IPPacket : 17

This is with ArchimedesShips-1.7.1.jar on a dedicated server.

ajthemacboy commented 9 years ago

Same issue.

[09:57:40] [Server thread/ERROR] [FML]: Detected ongoing potential memory leak. 200 packets have leaked. Top offenders [09:57:40] [Server thread/ERROR] [FML]: ArchimedesShips : 198 [09:57:40] [Server thread/ERROR] [FML]: FML : 2

nightrune commented 9 years ago

I'm seeing this as well. I can't tell if Forge is thinking its a leak when its not though.

eschereatseverything commented 9 years ago

I'm having the same issue, in my case memory usage keeps rising until I restart my server. It seems like it only happens when you disassemble after flying for a minute or so. I assembled the ship several times with no issues, flew to a new unloaded area, aligned and disassembled, and received the same error as others, as well as ever growing memory usage.

LemADEC commented 9 years ago

are you able to reproduce it in single player? with no other mods?