Hey everyone.
I'll start off by mentioning that English is not my native language, so grammatical errors are to be expected.
So before I start I'll apologize if I slaughter the English language in any way or form.
Now then, let's get down to the issue at hand.
I'm hosting a local FTB Ultimate server on my computer, and this is the same computer as I'm using to run the player client and play on it with. I know this might seem like a dumb idea, but according to my estimates, I should have enough computer power to do this, aswell as a fairly decent connection. I'll give you the specs further down.
My problem however is the following.
I sometimes get stuttering, on the server. And this goes for both me and my mate on the server.
And let's get something straight here. I started playing minecraft a week ago, before that I've never actually touched the game itself. So one could say that I'm a complete scrub on the subject and then thinking about going into server hosting would most likely be a bad idea. However I've chosen that route and I want to continue with it.
My guess as to why the server stutters is because it's not getting enough memory.
Using the "window pane" you get up when the server have started up/is starting up shows me that it uses 160mb (45%free)
Making me think it's got a total of 512mb at it's disposal.
But when it stutters, which isn't all the time I check the memory graph and it's peaked really high.
Which lead to believe that I'm right in it being the memory holding the server down.
I've been google for about 6hours, and some states that a normal minecraft server starts with only 100mb available, making me think that since FTB uses mods that it starts with 512mb available to work with.
Now my question is, how do I raise the cap for this?
Do I do it in this file?
serverstart.sh where this line is located:
java -Xms512 -Xmx1G -jar ftbserver.jar
?
Or do I do it somewhere else?
Keep in mind that I'm not a technical genius of any kind.
And here are my computer and connection specs:
Motherboard: Asus Z77 Sabertooth
CPU: i7 3770k @ 4.8GHz liquid cooled by a Corsair H80i (Runs stable at 35degrees max, even after playing for 10hours)
Memory: Corsair Vengeance@1666MHz
GPU: Gigabyte Geforce GTX 670 "Windforcex3" @1380MHz
(Stable clock, no glitching tearing or anything in everything I've tried from BF3, Crysis 3, Bioshock Infinite on ultra graphics)
PSU: Corsair AX850 Modular Gold
Connection: 100/100mBit fiberoptic
I joined a friend's server and I even got lag on minecraft there aswell.
My question is, could it be that I'm running java 32bit instead of 64.
Mainly because most web applications use the 32bit version without support for the 64 bit one.
I just want to know what I should do since I should be able to play minecraft without any lag since no other game I've played actually lags in any way or form. And the above mentioned are fairly detailed and demanding on a system, and I've been able to record them at 1080P without lag aswell.
I believe BF3 during recording peaked 170FPS, but were stable around 120.
So I'm just baffled that I'm unable to run a local server for maybe 5people without me lagging asunder from time to time, resulting in me having to restart the server and player client.
So I need you good gentlemen and fine women to help me out here.
Thanks in advance.
I'll start off by mentioning that English is not my native language, so grammatical errors are to be expected.
So before I start I'll apologize if I slaughter the English language in any way or form.
Now then, let's get down to the issue at hand.
I'm hosting a local FTB Ultimate server on my computer, and this is the same computer as I'm using to run the player client and play on it with. I know this might seem like a dumb idea, but according to my estimates, I should have enough computer power to do this, aswell as a fairly decent connection. I'll give you the specs further down.
My problem however is the following.
I sometimes get stuttering, on the server. And this goes for both me and my mate on the server.
And let's get something straight here. I started playing minecraft a week ago, before that I've never actually touched the game itself. So one could say that I'm a complete scrub on the subject and then thinking about going into server hosting would most likely be a bad idea. However I've chosen that route and I want to continue with it.
My guess as to why the server stutters is because it's not getting enough memory.
Using the "window pane" you get up when the server have started up/is starting up shows me that it uses 160mb (45%free)
Making me think it's got a total of 512mb at it's disposal.
But when it stutters, which isn't all the time I check the memory graph and it's peaked really high.
Which lead to believe that I'm right in it being the memory holding the server down.
I've been google for about 6hours, and some states that a normal minecraft server starts with only 100mb available, making me think that since FTB uses mods that it starts with 512mb available to work with.
Now my question is, how do I raise the cap for this?
Do I do it in this file?
serverstart.sh where this line is located:
java -Xms512 -Xmx1G -jar ftbserver.jar
?
Or do I do it somewhere else?
Keep in mind that I'm not a technical genius of any kind.
And here are my computer and connection specs:
Motherboard: Asus Z77 Sabertooth
CPU: i7 3770k @ 4.8GHz liquid cooled by a Corsair H80i (Runs stable at 35degrees max, even after playing for 10hours)
Memory: Corsair Vengeance@1666MHz
GPU: Gigabyte Geforce GTX 670 "Windforcex3" @1380MHz
(Stable clock, no glitching tearing or anything in everything I've tried from BF3, Crysis 3, Bioshock Infinite on ultra graphics)
PSU: Corsair AX850 Modular Gold
Connection: 100/100mBit fiberoptic
I joined a friend's server and I even got lag on minecraft there aswell.
My question is, could it be that I'm running java 32bit instead of 64.
Mainly because most web applications use the 32bit version without support for the 64 bit one.
I just want to know what I should do since I should be able to play minecraft without any lag since no other game I've played actually lags in any way or form. And the above mentioned are fairly detailed and demanding on a system, and I've been able to record them at 1080P without lag aswell.
I believe BF3 during recording peaked 170FPS, but were stable around 120.
So I'm just baffled that I'm unable to run a local server for maybe 5people without me lagging asunder from time to time, resulting in me having to restart the server and player client.
So I need you good gentlemen and fine women to help me out here.
Thanks in advance.