Done Game constantly freezing and FPS lagging after playing longer time

Discussion in 'Civilization' started by alven4, Feb 25, 2016.

  1. alven4

    alven4 Well-Known Member

    Messages:
    449
    Likes Received:
    33
    Local Time:
    4:46 AM
    My game starts freezing and lagging very often after some time playing (more than 1 hour, but it is random).

    After fresh start of game, it doesn't lag and everything is fine but then after long time it starts lagging. I don't know what is causing the lag. I don't have any resource intensive stuff running except minecraft.
    I am using Optifine and Fastcraft too.

    Can someone help me?
     
  2. Slind

    Slind Founder

    Messages:
    8,332
    Likes Received:
    3,018
    Local Time:
    4:46 AM
    This sounds like a small memory leak. Could you check the debug screen (F3) and keep an eye on the memory. Does the span between the jumps get smaller over time?
     
  3. alven4

    alven4 Well-Known Member

    Messages:
    449
    Likes Received:
    33
    Local Time:
    4:46 AM
    I don't see any graph after pressing f3.

    But the used memory rapidly increases and then go down.
     
  4. Ash00182

    Ash00182 Well-Known Member

    Messages:
    1,205
    Likes Received:
    378
    Local Time:
    3:46 AM
    Is your memory usage really high when you check task manager? Ctrl + shift + esc is the shortcut on windows.
     
  5. alven4

    alven4 Well-Known Member

    Messages:
    449
    Likes Received:
    33
    Local Time:
    4:46 AM
    Yes, it is. I have 98-99% physical memory used.
     
  6. Ash00182

    Ash00182 Well-Known Member

    Messages:
    1,205
    Likes Received:
    378
    Local Time:
    3:46 AM
    Yeah you got a memory leak then :([DOUBLEPOST=1456418885][/DOUBLEPOST]Im guessing none of the programs are using a high amount of memory?
     
  7. alven4

    alven4 Well-Known Member

    Messages:
    449
    Likes Received:
    33
    Local Time:
    4:46 AM
    No, they aren't using big amount of memory, all other programs (counting system processes) are using under 100 mb together.
     
  8. Ash00182

    Ash00182 Well-Known Member

    Messages:
    1,205
    Likes Received:
    378
    Local Time:
    3:46 AM
    Can you go to this directory and run a program called poolmon. C:\Program Files (x86)\Windows Kits\10\Tools\x64[DOUBLEPOST=1456419280][/DOUBLEPOST]Might need the windows kit.
     
  9. alven4

    alven4 Well-Known Member

    Messages:
    449
    Likes Received:
    33
    Local Time:
    4:46 AM
    Should I run it while minecraft is running?
     
  10. Ash00182

    Ash00182 Well-Known Member

    Messages:
    1,205
    Likes Received:
    378
    Local Time:
    3:46 AM
    Can you close minecraft. Your mem usable will probably be high still. About 60%.[DOUBLEPOST=1456419553][/DOUBLEPOST]Unless it is minecraft ofc. :D
     
  11. alven4

    alven4 Well-Known Member

    Messages:
    449
    Likes Received:
    33
    Local Time:
    4:46 AM
    From what I remember, I had after startup of computer around 50% memory used (I saw it in task manager).
     
  12. Ash00182

    Ash00182 Well-Known Member

    Messages:
    1,205
    Likes Received:
    378
    Local Time:
    3:46 AM
    hmm, that's rather high after a computer start up. Normally restarting the PC clears the mem cache. I'd probably disable some of the start up programs to reduce that.
     
  13. alven4

    alven4 Well-Known Member

    Messages:
    449
    Likes Received:
    33
    Local Time:
    4:46 AM
    I have only torrent and microsoft security essentials on startup. That amount of memory used I have even after 20 minutes of using computer (No minecraft, no normal programs running).
     
  14. Ash00182

    Ash00182 Well-Known Member

    Messages:
    1,205
    Likes Received:
    378
    Local Time:
    3:46 AM
  15. alven4

    alven4 Well-Known Member

    Messages:
    449
    Likes Received:
    33
    Local Time:
    4:46 AM
    Ok, I will try it.
     
  16. Slind

    Slind Founder

    Messages:
    8,332
    Likes Received:
    3,018
    Local Time:
    4:46 AM
    At the top right, it says something about the memory usage, a number going up all the time and suddenly taking a big step down.
     
  17. alven4

    alven4 Well-Known Member

    Messages:
    449
    Likes Received:
    33
    Local Time:
    4:46 AM
    I know, I said the observation in my first reply. I was just a bit confused.[DOUBLEPOST=1456431158,1456422427][/DOUBLEPOST]I rebooted computer and checked poolmon and task manager. Oddly, nothing is using big amount of memory in poolmon and same it is in task manager (I counted that it is less than 1 GB), but still I have more than 1 GB of ram used (I have 4 in computer).
     
  18. Ash00182

    Ash00182 Well-Known Member

    Messages:
    1,205
    Likes Received:
    378
    Local Time:
    3:46 AM
    Rebooting the computer will clear the memory cache. This makes it much harder to find the memory leak. You need to look for the leak when it is happening.
     
  19. alven4

    alven4 Well-Known Member

    Messages:
    449
    Likes Received:
    33
    Local Time:
    4:46 AM
    The problem is that the leak is happening very significantly only when I play minecraft. Should I start the modpack up and then use poolmon?
     
  20. Ash00182

    Ash00182 Well-Known Member

    Messages:
    1,205
    Likes Received:
    378
    Local Time:
    3:46 AM
    If it is only present when Minecraft is running then yes run the application :)[DOUBLEPOST=1456431575][/DOUBLEPOST]Possibly re-installing the pack/updating java should help.[DOUBLEPOST=1456432610,1456431547][/DOUBLEPOST]How much memory are you allocating to minecraft?
     

Share This Page