Archived

This topic is now archived and is closed to further replies.

  • 0
junpinox

Invalid initial heap size -Xms512Mb

Question

C:\Users\Master\Downloads\Tekkit_Server_v1.2.9g>java -Xmx2G -Xms512Mb -jar Tekkit.jar nogui
Invalid initial heap size: -Xms512Mb
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

C:\Users\Master\Downloads\Tekkit_Server_v1.2.9g>pause
Press any key to continue . . .

I am using 64bit java, and 8total gigs of memory/RAM but i still get this error. my max is set to 2gb and min is set to 512mb

 

any ideaa


 

Share this post


Link to post
Share on other sites

1 answer to this question

Change  java -Xmx2G -Xms512Mb -jar Tekkit.jar nogui

to  java -Xmx2G -Xms2G -jar Tekkit.jar nogui

Share this post


Link to post
Share on other sites

  • Similar Content

    • By ShrillBear52
      Since i'm able to launch my custom modpack i wanted to do a server as well for me and my friends. But after a few minuet when i join to my server it closes automatically for no reason.
      log:
      https://pastebin.com/14ARTv5f
      Also, the server crashes automatically if i put thaumcraft (1.12.2 version) to the mods folder.
      I would really appreciate any help
    • By t0rched
      Over 6+ Years Online and in Development, New Mods, 1.12.2!
      Click Here to Visit our Fully MC Integrated Site
      Custom Mod Pack and Server Community 
      Our mod pack is designed, maintained and even hosted by our community.
      Constantly updated and perfectly tailored to players tastes.
      We provide a unique mod pack experience that lets you choose what gets added, removed and even tweaked.
      We have a dedicated server waiting for you, filled with adventure!
       DEDICATED, FAST AND RELIABLE SMP Server: 16GB RAM / SSD / 1Gbps 
      CUSTOM AUTOMATION PACK / BASED on STONEBLOCK PACK
      >> Click Here for our Website! <<
      >> Click Here for the Mod List! <<
      Technic Page: http://www.technicpack.net/modpack/worldautomation
      >> Custom Launcher Available <<

       
       
       
       
    • By [email protected]
      how do i add mods to an existing modpack on the technic launcher?

      i got a server that runs 1.7.10 pack with my friends and we want to add more mods to it. i know how to add mods to a existing modpack but that is for single player.
      how do i do it so my friends can play with me?
    • By Loscut
      Hey. There are many people on here MUCH smarter than I when it comes to these fixes. Could someone please point out the error of my ways with this.
      My server will not start, and keep in mind this is the server directly downloaded from the Tekkit Legends page on the website.
      What my CMD spit out: https://pastebin.com/ycQE3rki
      What my start.bat file looks like: java -Xmx2G -Xms1G -XX:MaxPermSize=128m -jar "TekkitLegends.jar" nogui
      pause
       
      Any and all help is appreciated. Thank you very much
    • By Drextury
      I tried launching my server for my friends and I to join and It kept on crashing and i couldn't type 'stop' into console to shut down the console (An unknown error occurred while attempting to perform this command) when my friends tried to join it said that they had timed out and i do not think this has something to do with my port forwarding or my ip changing
       
      Crash Logs
      ---- Minecraft Crash Report ----
      // This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]
      Time: 9/18/18 8:01 PM
      Description: Exception in server tick loop
      java.lang.RuntimeException: Config file corrupt, attepted to close to many categories '/config/More Bows.cfg:29'
          at net.minecraftforge.common.Configuration.load(Configuration.java:568)
          at net.minecraftforge.common.Configuration.<init>(Configuration.java:100)
          at iDiamondhunter.bows.iDiamondhunter.PreLoad(iDiamondhunter.java:98)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:494)
          at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
          at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
          at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
          at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
          at com.google.common.eventbus.EventBus.post(EventBus.java:267)
          at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:192)
          at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:172)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
          at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
          at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
          at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
          at com.google.common.eventbus.EventBus.post(EventBus.java:267)
          at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:103)
          at cpw.mods.fml.common.Loader.loadMods(Loader.java:515)
          at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:85)
          at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:350)
          at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:69)
          at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431)
          at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)

      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
      -- System Details --
      Details:
          Minecraft Version: 1.5.2
          Operating System: Windows 10 (x86) version 10.0
          Java Version: 1.8.0_181, Oracle Corporation
          Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
          Memory: 25465648 bytes (24 MB) / 65822720 bytes (62 MB) up to 259522560 bytes (247 MB)
          JVM Flags: 0 total; 
          AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
          Suspicious classes: FML and Forge are installed
          IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
          FML: MCP v7.51 FML v5.2.23.737 Minecraft Forge 7.8.1.737 61 mods loaded, 61 mods active
          mcp{7.51} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
          FML{5.2.23.737} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized
          Forge{7.8.1.737} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized
          CodeChickenCore{0.8.7.3} [CodeChicken Core] (coremods) Unloaded->Constructed->Pre-initialized
          CoFHFramework{1.5.2.5} [CoFH Framework] (coremods) Unloaded->Constructed->Pre-initialized
          ImmibisMicroblocks{55.0.7} [Immibis's Microblocks] (coremods) Unloaded->Constructed->Pre-initialized
          NotEnoughItems{1.5.2.28} [Not Enough Items] (coremods) Unloaded->Constructed->Pre-initialized
          mod_bspkrsCore{v2.09(1.5.2)} [bspkrsCore] ([1.5.2]bspkrsCorev2.09.zip) Unloaded->Constructed->Pre-initialized
          TreeCapitator{Forge 1.5.2.r14} [TreeCapitator] ([1.5.2]TreeCapitator.Forge.1.5.2.r14.Uni.CoreMod.jar) Unloaded->Constructed->Pre-initialized
          CoFHCore{1.5.2.5} [CoFHCore] (CoFHCore-1.5.2.5.jar) Unloaded->Constructed->Pre-initialized
          CoFHWorld{1.5.2.5} [CoFHWorld] (CoFHCore-1.5.2.5.jar) Unloaded->Constructed->Pre-initialized
          ImmibisMicroblocksInstallCheck{55.0.7} [Immibis's Microblocks (Checks for incorrect installation, ignore this)] (immibis-microblocks-55.0.7.jar) Unloaded->Constructed->Pre-initialized
          DamageIndicatorsMod{2.7.0.1} [Damage Indicators] (1.5.2 DamageIndicators v2.7.0.1.zip) Unloaded->Constructed->Pre-initialized
          AsgardShield_Core{2.0.4} [AsgardShield] (1.5.2AsgardShield_Core_2.0.4Forge.zip) Unloaded->Constructed->Pre-initialized
          ASAddon_Hallowed{2.0.0} [AS Addon- Hallowed] (1.5.2ASAddonHallowed_v2.0.0Forge.zip) Unloaded->Constructed->Pre-initialized
          HarkenScythe_Core{2.1.6} [HarkenScythe] (1.5.2HarkenScythe_v2.1.6Forge.zip) Unloaded->Constructed->Pre-initialized
          ASAddon_HarkenScythe{2.0.0} [AS Addon- HarkenScythe] (1.5.2ASAddonHarkenScythe_v2.0.0Forge.zip) Unloaded->Constructed->Pre-initialized
          ASAddon_NetherEnder{2.0.0} [AS Addon- Nether-Ender] (1.5.2ASAddonNetherEnder_v2.0.0Forge.zip) Unloaded->Constructed->Pre-initialized
          ASAddon_ColorAPI{1.0.0} [ASAddon_ColorAPI] (1.5.2AsgardShield_Core_2.0.4Forge.zip) Unloaded->Constructed->Pre-initialized
          BetterStorage{0.6.2.23-hotfix2} [BetterStorage] ([1.5.2]BetterStorage_0.6.2.23-hotfix2.zip) Unloaded->Constructed->Pre-initialized
          Artifice{1.5.2R1.1.2} [Artifice] (Artifice-1.1.2-182.jar) Unloaded->Constructed->Pre-initialized
          ArtificeCompat|Chisel{1.5.2R1.1.2} [Artifice Compat: Chisel] (Artifice-1.1.2-182.jar) Unloaded->Constructed->Pre-initialized
          ArtificeCompat|EE3{1.5.2R1.1.2} [Artifice Compat: EE3] (Artifice-1.1.2-182.jar) Unloaded->Constructed->Pre-initialized
          ArtificeCompat|Forestry{1.5.2R1.1.2} [Artifice Compat: Forestry] (Artifice-1.1.2-182.jar) Unloaded->Constructed->Pre-initialized
          ArtificeCompat|MFR{1.5.2R1.1.2} [Artifice Compat: MFR] (Artifice-1.1.2-182.jar) Unloaded->Constructed->Pre-initialized
          ArtificeCompat|Railcraft{1.5.2R1.1.2} [Artifice Compat: Railcraft] (Artifice-1.1.2-182.jar) Unloaded->Constructed->Pre-initialized
          ArtificeCompat|Vanilla{1.5.2R1.1.2} [Artifice Compat: Vanilla] (Artifice-1.1.2-182.jar) Unloaded->Constructed->Pre-initialized
          Backpack{1.12.13} [Backpack] (backpack-1.12.13-1.5.2.zip) Unloaded->Constructed->Pre-initialized
          BattleTowers{1.3.4} [Battle Towers] (BattleTowers_1.5.2.zip) Unloaded->Constructed->Pre-initialized
          BetterDungeons{1.8} [Better dungeons] (BetterDungeons.zip) Unloaded->Constructed->Pre-initialized
          BiblioCraft{1.3.3} [BiblioCraft] (BiblioCraft[v1.3.3].zip) Unloaded->Constructed->Pre-initialized
          ChestTransporter{1.1.6} [Chest Transporter] (chestTransporter_1.1.6_Universal.zip) Unloaded->Constructed->Pre-initialized
          DimDoors{1.5.2R1.4.1RC1} [Dimensional Doors] (DimensionalDoors-1.5.2R1.4.1RC1-194.zip) Unloaded->Constructed->Pre-initialized
          eplus{1.15.4} [Enchanting Plus] (EnchantingPlus-1.15.4.jar) Unloaded->Constructed->Pre-initialized
          ExtrabiomesXL{3.13.4} [ExtrabiomesXL] (ExtrabiomesXL-universal-1.5.2-3.13.4.jar) Unloaded->Constructed->Pre-initialized
          hexxitgear{1.5.2R1.0} [Hexxit Gear] (HexxitGear-1.0-23.jar) Unloaded->Constructed->Pre-initialized
          ImmibisCore{55.1.6} [Immibis Core] (immibis-core-55.1.6.jar) Unloaded->Constructed->Pre-initialized
          InfernalMobs{1.3.1} [Infernal Mobs] (InfernalMobs_1.5.2.zip) Unloaded->Constructed->Pre-initialized
          Meteors{2.10.2} [Falling Meteors] (Meteors Mod V2.10.2.zip) Unloaded->Constructed->Pre-initialized
          More Bows{1.5_v1} [More Bows mod] (More bows 1.5.2_2 Forge.jar) Unloaded->Constructed->Errored
          Natura{2.1.5} [Natura] (Natura_1.5.2_2.1.5.1.jar) Unloaded->Constructed->Pre-initialized
          Natura|CompatMineFactoryReloaded{0.1} [Natura compat: MFR] (Natura_1.5.2_2.1.5.1.jar) Unloaded->Constructed->Pre-initialized
          LegendGear{1.5.2} [LegendGear] (NMcCoy-LegendGear-1.5.2.zip) Unloaded->Constructed->Pre-initialized
          ObsidiPlates{1.5.0} [Obsidian Pressure Plates] (obsidiplates-1.5.2-universal-1.5.0.13.jar) Unloaded->Constructed->Pre-initialized
          OffLawn{1.0} [offLawn] (OffLawn-1.5.1.zip) Unloaded->Constructed->Pre-initialized
          ProjectZulu|Core{1.0.3.8} [Project Zulu Core] (ProjectZuluCompletev1.0.3.8.zip) Unloaded->Constructed->Pre-initialized
          ProjectZulu|Blocks{1.0.3.8} [Project Zulu Block and Items] (ProjectZuluCompletev1.0.3.8.zip) Unloaded->Constructed->Pre-initialized
          ProjectZulu|Dungeon{1.0.3.8} [Project Zulu Mobs] (ProjectZuluCompletev1.0.3.8.zip) Unloaded->Constructed->Pre-initialized
          ProjectZulu|Mobs{1.0.3.8} [Project Zulu Mobs] (ProjectZuluCompletev1.0.3.8.zip) Unloaded->Constructed->Pre-initialized
          ProjectZulu|World{1.0.3.8} [Project Zulu World] (ProjectZuluCompletev1.0.3.8.zip) Unloaded->Constructed->Pre-initialized
          QuantumCraft{1.01} [qCraft] (qCraft1.01.zip) Unloaded->Constructed->Pre-initialized
          xreliquary{1.5.2} [Xeno's Reliquary] (Reliquary1.0.6d.zip) Unloaded->Constructed->Pre-initialized
          rftl{1.0} [RottenFleshToLeather] (RottenFleshToLeather-1.5.1.zip) Unloaded->Constructed->Pre-initialized
          AS_Ruins{10.3} [Ruins Spawning System] (Ruins_1.5.2.zip) Unloaded->Constructed->Pre-initialized
          secretroomsmod{4.6.0} [SecretRoomsMod] (SecretRoomsMod-universal-4.6.0.283.zip) Unloaded->Constructed->Pre-initialized
          SoulShards{1.0.16} [Soul Shards] (SoulShards-1.0.36-universal-srg.jar) Unloaded->Constructed->Pre-initialized
          TConstruct{1.5.2_1.4.3d7} [Tinkers' Construct] (TConstruct_1.5.2_1.4.3.final.jar) Unloaded->Constructed->Pre-initialized
          TConstruct|CompatMineFactoryReloaded{0.1} [TConstruct Compat: MFR] (TConstruct_1.5.2_1.4.3.final.jar) Unloaded->Constructed->Pre-initialized
          TwilightForest{1.18.1} [The Twilight Forest] (twilightforest-1.18.1.zip) Unloaded->Constructed->Pre-initialized
          WildCaves3{0.4.2} [Wild Caves 3] (WildCaves3-0.4.2.zip) Unloaded->Constructed->Pre-initialized
          chococraft{2.8.8} [Torojima's ChocoCraft] (zzzChococraft_2.8.8.zip) Unloaded->Constructed->Pre-initialized
          Profiler Position: N/A (disabled)
          Is Modded: Definitely; Server brand changed to 'fml,forge'
          Type: Dedicated Server (map_server.txt)