You are not logged in.

#1 2014-10-06 10:34:18

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Minecraft sudden lag and freeze

I have been experiencing sudden lag, followed by freezing in less than 3 seconds, while playing, usually 15-30 min into gameplay.
It is really irritating, as it doesnt even recover with a REISUB
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode
Core i3 -3220 with 4Gb ram

It otherwise gives about 56-60 fps while playing.

I have a feeling (based on vague studies on logs) that it has something to do with disk syncing. I further think this is the case as when I loose power (very often here in hyderabad), my game save is very rarely lost, but with the freeze, it happens 50% of the time.

Only way to recover is to physically reboot.


I allocate -Xms2G and -Xmx3G

I will post results after deleting the flags/updating java

UPDATE:

Linux 3.16.2-1

Yell at me if I forgot anything

Last edited by aditya3098 (2014-10-06 10:36:17)

Offline

#2 2014-10-07 14:48:17

davidm
Member
Registered: 2009-04-25
Posts: 371

Re: Minecraft sudden lag and freeze

If it is not recovering with REISUB (assuming you have sysreq enabled) that suggests something serious.  I would first try to rule out hardware problems.  Check dmesg, journalctl, test your memory, use smartctl to at least run an extended test on your disk(s) [consider using badblocks to do a non destructive test as well].  Are you using anything special for a file system such as btrfs, RAID, or some sort of networked drive?

Last edited by davidm (2014-10-07 14:48:47)

Offline

#3 2014-10-21 15:57:39

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Re: Minecraft sudden lag and freeze

I will do the tests, but I have btrfs on my root. I use ext4 for /home. Minecraft resides in /home.
I have all the sysreqs enabled.
I have switched to openjdk, and removed the memory flags. Now I get only 35-40 fps, but no crashing.

Offline

#4 2014-10-21 16:31:37

Hund
Member
From: Sweden
Registered: 2010-03-22
Posts: 479
Website

Re: Minecraft sudden lag and freeze

Are you playing Minecraft 1.8? If so, thats the problem.

http://www.minecraftforum.net/forums/ma … and#c43757

Offline

Board footer

Powered by FluxBB