Jump to content

Search the Community

Showing results for tags 'memory leak'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • News
  • Project Zomboid
    • PZ Updates
    • General Discussions
    • Bug Reports
    • PZ Support
    • PZ Multiplayer
    • PZ Community & Creativity
    • PZ Suggestions
  • PZ Modding
    • Tutorials & Resources
    • Mods
    • Items
    • Mapping
    • Mod Ideas and Requests
  • General Games Development
    • Indie Scene
  • Other Discussions
    • General Discussion
    • Forum Games & Activities

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Twitter


Interests

Found 2 results

  1. I'm running a 41.65 dedicated server (cloud provider, Linux platform). Problem is, the memory usage goes up in proportion to player count and never comes down in the same proportion, when players leave. This would IMO point to something in per-player bookkeeping not being freed properly. Dangling references preventing garbage collector from reclaiming memory? Server memory consumption starts around 3 to 3,5 GB, going up to 4-5 GB with a couple of players and from there steadily increases to 6,5 or 7 GB with only 4 concurrent players. Some of the players utilize multiple username/password combos to have several characters to switch between and occasionally log out and back in with different ones - this seems to be coincide with high memory consumption. (EDIT: 4 or 5 concurrent players -> 4 concurrent players; I don't think we've ever had more than 4 at the same time on the server)
  2. When I start a game or load a saved game multiple times, without quitting to desktop, quitting the current game takes more and more time to perform each time, until the game becomes completely unresponsive. The problem is present on vanilla even without any mod loaded. The computer I'm using has 32GB of RAM and it's far from being full when the problem happens. I usually start to feel the lag after approximately 10 games loaded or started, and the freeze usually happen after I start or load a few more games. The error I get in console.txt is: Exception thrown java.lang.OutOfMemoryError: Java heap space at HeapByteBuffer.<init> Here's the stack trace when this is happening: LOG : General , 1637028655102> EXITDEBUG: Core.quit 1 LOG : General , 1637028655103> EXITDEBUG: Core.quit 2 LOG : General , 1637028655103> EXITDEBUG: onMenuItemMouseDownMainMenu 3 LOG : General , 1637028655103> EXITDEBUG: IngameState.updateInternal 1 LOG : General , 1637028655103> EXITDEBUG: IngameState.updateInternal 2 LOG : General , 1637028655305> reanimate: saved 0 zombies LOG : General , 1637028655311> Saving GlobalModData ERROR: General , 1637028658210> ExceptionLogger.logException> Exception thrown java.lang.OutOfMemoryError: Java heap space at HeapByteBuffer.<init>. ERROR: General , 1637028658211> DebugLogStream.printException> Stack trace: java.lang.OutOfMemoryError: Java heap space at java.base/java.nio.HeapByteBuffer.<init>(Unknown Source) at java.base/java.nio.ByteBuffer.allocate(Unknown Source) at zombie.world.moddata.GlobalModData.save(GlobalModData.java:252) at zombie.GameWindow.save(GameWindow.java:1281) at zombie.gameStates.IngameState.updateInternal(IngameState.java:1420) at zombie.gameStates.IngameState.update(IngameState.java:1356) at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:101) at zombie.GameWindow.logic(GameWindow.java:285) at zombie.GameWindow$$Lambda$202/0x0000000800cfcc90.run(Unknown Source) at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71) at zombie.GameWindow.frameStep(GameWindow.java:726) at zombie.GameWindow.run_ez(GameWindow.java:642) at zombie.GameWindow.mainThread(GameWindow.java:471) at zombie.GameWindow$$Lambda$77/0x0000000800ac5818.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) LOG : General , 1637028658211> EXITDEBUG: IngameState.updateInternal 3 LOG : General , 1637028658213> removing all player data LOG : General , 1637028658213> - player: 0 LOG : General , 1637028658213> removing player inventory LOG : General , 1637028658214> removing buttonprompts LOG : General , 1637028658214> removing loot inventory console.txt.zip
×
×
  • Create New...