I haven't had an "Out of Memory" error in any of my latest testing.
But it's usually my friends that get it. They tested it with me just now, and didn't get it, so... Idk...
Why do I have such a weird confusing problem?
If you aren't getting it now, great. In the future, you could try replacing the "-Xms3G" flag with "-Xincgc".
If you look closely at the two error reports, you notice that both of them are flagged as
java.lang.OutOfMemoryError: Java heap space
A little further down in the crash report, (in the section "system indormation") we get:
Memory: 849808 bytes (0 MB) / 259522560 bytes (247 MB) up to 259522560 bytes (247 MB)
JVM Flags: 0 total;
AABB Pool Size: 1750 (98000 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Note: The server crashed because it only had 248 MB of RAM allocated (which Rogue said was default) and you also have 0 JVM flags... meaning that the server wasn't being started with your Xms and Xmx commands.
But these are old... You clearly have a couple of java flags... it's just that the server isn't running with them.
Does minecraft still crash on you? Is the problem still there?
If the problem still exists, try this bat file, and let me know what errors you get
You are both able to connect to the server, correct? Are there errors in the console when you attempt to hit an enemy? Are you away from the spawn?
You should not run the -Xincgc flag together with -Xms (from what I'm aware).
We can connect, but we don't see each other, we can't hit enemies, we can't pick up items, and what we build doesn't save (even when I do the /save or whatever it is in the console.) Nothing shows up in the console, and as far as I am aware, this has nothing to do with lag. (As far as I am aware.)
Are you both connecting via your computer/servers internal IP?
Or are you using local host and is your friend using the internal IP?
If you aren't crashing anymore... then it could be one of two things:
Java's busted still, and won't allow a proper connection:
A firewall is selectively filtering some of the packets... which is completely unexpected behavior... but possible as block placement and updates are considered to be different packets than player movement and exploration.
Wait wait wait wait....
You can explore correct? Can you generate new terrain? If you walk far enough to where the server has to generate more world, what happens? Start up your server, and have you and your friend walk in opposite directions until you're fairly certain you both are creating new world... You can do this on a new map to speed up the process. (Even on a brand spanking new map, the server will create it's own world near the spawn... I want to see both you and the other player generate new world and watch what chaos unfolds on your screens, so be sure to walk quite a ways in opposite directions)
The reasoning behind this: The server might have Inbound firewall exceptions, but not outbound exceptions. Meaning that you can tell the server where you are... but the server can't tell you what's happening. While I can't explain why you can even view the world in the first place, it would solve your issue with you and your friend not being able to see each other, and or place blocks...
Maybe the flip side is true... maybe the server can send out data, but has a filter on inbound communications... meaning the server can tell you what the world looks like, but when your client broadcasts your player's position, and block changes/breaks/placements, those transmissions get filtered by a setting somewhere...
While I'm not entirely sure... I can see this being a firewall problem... within the computer.
Have you properly configured your firewall to allow communications for both the Java binary, and the Minecraft Server?
Are you both connecting via your computer/servers internal IP?
Or are you using local host and is your friend using the internal IP?
If you aren't crashing anymore... then it could be one of two things:
Java's busted still, and won't allow a proper connection:
A firewall is selectively filtering some of the packets... which is completely unexpected behavior... but possible as block placement and updates are considered to be different packets than player movement and exploration.
Wait wait wait wait....
You can explore correct? Can you generate new terrain? If you walk far enough to where the server has to generate more world, what happens? Start up your server, and have you and your friend walk in opposite directions until you're fairly certain you both are creating new world... You can do this on a new map to speed up the process. (Even on a brand spanking new map, the server will create it's own world near the spawn... I want to see both you and the other player generate new world and watch what chaos unfolds on your screens, so be sure to walk quite a ways in opposite directions)
The reasoning behind this: The server might have Inbound firewall exceptions, but not outbound exceptions. Meaning that you can tell the server where you are... but the server can't tell you what's happening. While I can't explain why you can even view the world in the first place, it would solve your issue with you and your friend not being able to see each other, and or place blocks...
Maybe the flip side is true... maybe the server can send out data, but has a filter on inbound communications... meaning the server can tell you what the world looks like, but when your client broadcasts your player's position, and block changes/breaks/placements, those transmissions get filtered by a setting somewhere...
While I'm not entirely sure... I can see this being a firewall problem... within the computer.
Have you properly configured your firewall to allow communications for both the Java binary, and the Minecraft Server?
Yes. We can render new blocks and new world, BUT we have to wait for chunks to load which takes an entire 15 seconds to 1 minute. Also after a while of rendering, when we get far away we get teleported back to spawn.
By the way, I can't connect to local lan. It doesn't work.
And my Firewall is configured to allow minecraft, the server, and java to do LITERALLY ANYTHING!
Disabling firewall does nothing either...
Also I need to know for sure if this is running right;
"C:\Program Files\Java\jre7\bin\javaw.exe" -Xms3000m -Xmx3000m -jar "Minecraft_Server.jar"
If you aren't getting it now, great. In the future, you could try replacing the "-Xms3G" flag with "-Xincgc".
But Rogue, you missed the big Problem. We can't see each other, and we can't hit enemies.
~Maddoga
A little further down in the crash report, (in the section "system indormation") we get:
Note: The server crashed because it only had 248 MB of RAM allocated (which Rogue said was default) and you also have 0 JVM flags... meaning that the server wasn't being started with your Xms and Xmx commands.
But these are old... You clearly have a couple of java flags... it's just that the server isn't running with them.
Does minecraft still crash on you? Is the problem still there?
If the problem still exists, try this bat file, and let me know what errors you get
You are both able to connect to the server, correct? Are there errors in the console when you attempt to hit an enemy? Are you away from the spawn?
You should not run the -Xincgc flag together with -Xms (from what I'm aware).
(-Xincgc flag removed)
We can connect, but we don't see each other, we can't hit enemies, we can't pick up items, and what we build doesn't save (even when I do the /save or whatever it is in the console.) Nothing shows up in the console, and as far as I am aware, this has nothing to do with lag. (As far as I am aware.)
~Maddoga
Or are you using local host and is your friend using the internal IP?
If you aren't crashing anymore... then it could be one of two things:
Java's busted still, and won't allow a proper connection:
A firewall is selectively filtering some of the packets... which is completely unexpected behavior... but possible as block placement and updates are considered to be different packets than player movement and exploration.
Wait wait wait wait....
You can explore correct? Can you generate new terrain? If you walk far enough to where the server has to generate more world, what happens? Start up your server, and have you and your friend walk in opposite directions until you're fairly certain you both are creating new world... You can do this on a new map to speed up the process. (Even on a brand spanking new map, the server will create it's own world near the spawn... I want to see both you and the other player generate new world and watch what chaos unfolds on your screens, so be sure to walk quite a ways in opposite directions)
The reasoning behind this: The server might have Inbound firewall exceptions, but not outbound exceptions. Meaning that you can tell the server where you are... but the server can't tell you what's happening. While I can't explain why you can even view the world in the first place, it would solve your issue with you and your friend not being able to see each other, and or place blocks...
Maybe the flip side is true... maybe the server can send out data, but has a filter on inbound communications... meaning the server can tell you what the world looks like, but when your client broadcasts your player's position, and block changes/breaks/placements, those transmissions get filtered by a setting somewhere...
While I'm not entirely sure... I can see this being a firewall problem... within the computer.
Have you properly configured your firewall to allow communications for both the Java binary, and the Minecraft Server?
Yes. We can render new blocks and new world, BUT we have to wait for chunks to load which takes an entire 15 seconds to 1 minute. Also after a while of rendering, when we get far away we get teleported back to spawn.
By the way, I can't connect to local lan. It doesn't work.
And my Firewall is configured to allow minecraft, the server, and java to do LITERALLY ANYTHING!
Disabling firewall does nothing either...
Also I need to know for sure if this is running right;
"C:\Program Files\Java\jre7\bin\javaw.exe" -Xms3000m -Xmx3000m -jar "Minecraft_Server.jar"
~Maddoga
Post your results... also, have your friend do the same.