[MAC] Problème Lancement Serveur

  • Auteur de la discussion Auteur de la discussion MrN0xis
  • Date de début Date de début

MrN0xis

Aventurier
3 Avril 2012
26
2
3
28
Bonjour à tous,
Je tiens tout d'abord à préciser que je suis sous MAC,

Bon alors, je viens expliquer grossièrement mon problème,
J'ai un serveur que j'héberge sur mon mac via Hamachi en Bukkit 1.2.4 R1.0

Tout fonctionnait sauf quand un ami à crash mon serveur avec de la TNT et World Edit ^^

Pour lancer mon serveur, je lance donc la console et voilà ce qui se passe :
Code:
Last login: Tue Apr  3 16:01:22 on console
/Users/maison/Desktop/BukkitServer/start.command ; exit;
iMac-Elio:~ maison$ /Users/maison/Desktop/BukkitServer/start.command ; exit;
182 recipes
27 achievements
16:02:24 [INFO] Starting minecraft server version 1.2.4
16:02:24 [INFO] Loading properties
16:02:24 [INFO] Starting Minecraft server on (mon adresse Ip Hamachi ^^)
16:02:24 [ATTENTION] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
16:02:24 [ATTENTION] The server will make no attempt to authenticate usernames. Beware.
16:02:24 [ATTENTION] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
16:02:24 [ATTENTION] To change this, set "online-mode" to "true" in the server.properties file.
16:02:25 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.4-R1.0-b2126jnks (MC: 1.2.4) (Implementing API version 1.2.4-R1.0)
16:02:27 [INFO] [GroupManager] Loading GroupManager v1.9 (2.9.1) (Phoenix)
16:02:27 [INFO] [WorldEdit] Loading WorldEdit v5.3
16:02:27 [INFO] [Permissions] Loading Permissions v3.1.6
16:02:27 [INFO] [Essentials] Loading Essentials v2.9.1
16:02:27 [INFO] [EssentialsXMPP] Loading EssentialsXMPP v2.9.1
16:02:27 [INFO] [EssentialsChat] Loading EssentialsChat v2.9.1
16:02:27 [INFO] [EssentialsProtect] Loading EssentialsProtect v2.9.1
16:02:27 [INFO] MLog clients using java 1.4+ standard logging.
16:02:27 [INFO] [EssentialsSpawn] Loading EssentialsSpawn v2.9.1
16:02:27 [INFO] [EssentialsGeoIP] Loading EssentialsGeoIP v2.9.1
16:02:27 [INFO] Preparing level "world"
16:02:27 [INFO] Default game type: 1
16:02:28 [INFO] Preparing start region for level 0 (Seed: 268506756255415559)
16:02:29 [INFO] Preparing spawn area: 12%
16:02:30 [INFO] Preparing spawn area: 40%
16:02:31 [INFO] Preparing spawn area: 53%
16:02:32 [INFO] Preparing spawn area: 61%
16:02:33 [INFO] Preparing spawn area: 69%
16:02:34 [INFO] Preparing spawn area: 77%
16:02:36 [INFO] Preparing spawn area: 81%
16:02:36 [INFO] Preparing start region for level 1 (Seed: 313823532077641657)
16:02:37 [INFO] Preparing spawn area: 20%
16:02:38 [INFO] Preparing spawn area: 93%
16:02:38 [INFO] Preparing start region for level 2 (Seed: 313823532077641657)
16:02:38 [INFO] [GroupManager] Enabling GroupManager v1.9 (2.9.1) (Phoenix)
16:02:38 [INFO] GroupManager - INFO - World Found: world
16:02:38 [INFO] GroupManager - INFO - Superperms support enabled.
16:02:38 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
16:02:38 [INFO] GroupManager - INFO - Backups will be retained for 24 hours!
16:02:38 [INFO] GroupManager version 1.9 (2.9.1) (Phoenix) is enabled!
16:02:38 [INFO] [WorldEdit] Enabling WorldEdit v5.3
16:02:39 [INFO] WEPIF: Using the Bukkit Permissions API.
16:02:39 [INFO] [Permissions] Enabling Permissions v3.1.6
16:02:39 [INFO] Fake Permissions version 3.1.6 is enabled!
16:02:39 [INFO] WEPIF: Using the Bukkit Permissions API.
16:02:39 [INFO] [Essentials] Enabling Essentials v2.9.1
16:02:40 [INFO] Essentials: Using GroupManager based permissions.
16:02:40 [INFO] [EssentialsXMPP] Enabling EssentialsXMPP v2.9.1
16:02:40 [ATTENTION] config broken for xmpp
16:02:40 [INFO] [EssentialsChat] Enabling EssentialsChat v2.9.1
16:02:40 [INFO] [EssentialsProtect] Enabling EssentialsProtect v2.9.1
16:02:40 [INFO] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
16:02:41 [INFO] [EssentialsSpawn] Enabling EssentialsSpawn v2.9.1
16:02:41 [INFO] [EssentialsGeoIP] Enabling EssentialsGeoIP v2.9.1
16:02:41 [INFO] [EssentialsGeoIP] This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/.
16:02:41 [INFO] Server permissions file permissions.yml is empty, ignoring it
16:02:41 [INFO] Done (14,347s)! For help, type "help" or "?"
16:13:33 [GRAVE] java.lang.OutOfMemoryError: Java heap space
16:13:33 [GRAVE]    at net.minecraft.server.Vec3D.a(SourceFile:12)
16:13:33 [GRAVE]    at net.minecraft.server.Vec3D.create(SourceFile:26)
16:13:33 [GRAVE]    at net.minecraft.server.World.rayTrace(World.java:793)
16:13:39 [GRAVE]    at net.minecraft.server.World.a(World.java:669)
16:13:39 [GRAVE]    at net.minecraft.server.World.a(World.java:1554)
16:13:39 [GRAVE]    at net.minecraft.server.Explosion.a(Explosion.java:122)
16:13:39 [GRAVE]    at net.minecraft.server.World.createExplosion(World.java:1535)
16:13:39 [GRAVE]    at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:225)
16:13:39 [GRAVE]    at net.minecraft.server.EntityTNTPrimed.explode(EntityTNTPrimed.java:88)
16:13:39 [GRAVE]    at net.minecraft.server.EntityTNTPrimed.F_(EntityTNTPrimed.java:66)
16:13:39 [GRAVE]    at net.minecraft.server.World.entityJoinedWorld(World.java:1265)
16:13:39 [GRAVE]    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:106)
16:13:39 [GRAVE]    at net.minecraft.server.World.playerJoinedWorld(World.java:1247)
16:13:39 [GRAVE]    at net.minecraft.server.World.tickEntities(World.java:1154)
16:13:39 [GRAVE]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:545)
16:13:39 [GRAVE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
16:13:39 [GRAVE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
16:13:39 [GRAVE] Unexpected exception
java.lang.OutOfMemoryError: Java heap space
  at net.minecraft.server.Vec3D.a(SourceFile:12)
  at net.minecraft.server.Vec3D.create(SourceFile:26)
  at net.minecraft.server.World.rayTrace(World.java:793)
  at net.minecraft.server.World.a(World.java:669)
  at net.minecraft.server.World.a(World.java:1554)
  at net.minecraft.server.Explosion.a(Explosion.java:122)
  at net.minecraft.server.World.createExplosion(World.java:1535)
  at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:225)
  at net.minecraft.server.EntityTNTPrimed.explode(EntityTNTPrimed.java:88)
  at net.minecraft.server.EntityTNTPrimed.F_(EntityTNTPrimed.java:66)
  at net.minecraft.server.World.entityJoinedWorld(World.java:1265)
  at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:106)
  at net.minecraft.server.World.playerJoinedWorld(World.java:1247)
  at net.minecraft.server.World.tickEntities(World.java:1154)
  at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:545)
  at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
  at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
16:13:51 [INFO] GroupManager - INFO -  Data files refreshed.
16:22:43 [INFO] GroupManager - INFO -  Data files refreshed.
16:32:38 [INFO] GroupManager - INFO -  Data files refreshed.
16:42:38 [INFO] GroupManager - INFO -  Data files refreshed.
16:52:42 [INFO] GroupManager - INFO -  Data files refreshed.
17:02:38 [INFO] GroupManager - INFO -  Data files refreshed.
17:12:38 [INFO] GroupManager - INFO -  Data files refreshed.
>


Dans l'espoir de recevoir un peu d'aide ^^"
Merci :)
 
Je n'ai aucune idée de la façon dont un serv est lancé sur MAC, mais la raison est simple. Tu n'as pas assez de mémoire allouée à JAVA et comme la TNT pompe un max (mais vraiment un max) ben le serveur commence à calculer les explosions et arrive immédiatement à saturation.
D'après ce que j'ai pu, lire ça se lance quasiment comme sur PC et tu devrais avoir cette variable dans ton fichier texte qui sert au lancement du serveur :
Code:
-Xmx1024M

Le chiffre représente la RAM que tu alloues au processus. Tu peux augmenter la valeur en fonction de ta RAM sachant que 1024 représente 1Go

Sinon tu as des plugins pour ça comme PTweaks qui sont très efficaces.