Aion Fix For java couldnt reserve space for object heap

Results 1 to 8 of 8
  1. #1
    Member GunGrave21 is offline
    MemberRank
    Jul 2008 Join Date
    RigaLocation
    58Posts

    thumbs up Aion Fix For java couldnt reserve space for object heap

    So, hello everybody. this is my first post of fix which isnt something special. And yes Mod if i posted in wrong section pls tell me where to post these kind of things.
    So Error Which occured during my Aion server update doesnt involve ur server settings or etc. It involves ur ram free space which is cached, so java JDK VM max limits is about 1,5 GB ram he will be able to start java VM(virtual machine) if ur ram doesnt excide over 1,5 GB RAM.And if its over this value it wont launch ur Aion server in this case.See picture under.

    So fix for this problem is to open ur gameserver bat file and edit this line. java -Xms512m -Xmx1536m-ea. The first value is good, second value should change to 512m, even im not sure how to edit perfect settings and maybe changing this settings will slow down ur server performance later on. But atleast u can run ur server and u will know why that error accured. I sugest experimentate with both values. To see in which config server runs faster or smoother.I puted like this values and my problem got solved: java -Xms256m -Xmx512m -ea. And sry for long text. And a lot of mistakes in grammer :)
    Last edited by GunGrave21; 21-03-10 at 04:12 PM.


  2. #2
    Omega penihop is offline
    MemberRank
    Sep 2006 Join Date
    SpamzoneLocation
    5,569Posts

    Re: Aion Fix For java couldnt reserve space for object heap

    i have 3.5 GB RAM and i still get that error, however you need to edit other .bat file in GS/dist folder, else when you recompile GS the old .bat will come back :)

  3. #3
    Member GunGrave21 is offline
    MemberRank
    Jul 2008 Join Date
    RigaLocation
    58Posts

    Re: Aion Fix For java couldnt reserve space for object heap

    Quote Originally Posted by penihop View Post
    i have 3.5 GB RAM and i still get that error, however you need to edit other .bat file in GS/dist folder, else when you recompile GS the old .bat will come back :)
    What do u mean by old bat will come back?

    error accure because that setting goes over 1.5 gb.
    and u need change those values so they dont excide 1500mb.
    And i have 4 GB ram.
    Last edited by GunGrave21; 24-03-10 at 05:15 PM.

  4. #4
    Novice cyrosphere is offline
    MemberRank
    Sep 2007 Join Date
    2Posts

    Re: Aion Fix For java couldnt reserve space for object heap

    Fixed my problem, thanks for this :3

  5. #5
    Omega penihop is offline
    MemberRank
    Sep 2006 Join Date
    SpamzoneLocation
    5,569Posts

    Re: Aion Fix For java couldnt reserve space for object heap

    Quote Originally Posted by GunGrave21 View Post
    What do u mean by old bat will come back?

    error accure because that setting goes over 1.5 gb.
    and u need change those values so they dont excide 1500mb.
    And i have 4 GB ram.
    i mean that you don't need to edit the .bat in build folder, but the one i said,
    yes well i have 4 gb also but XP is limited to 3.5

  6. #6
    IfritGamerZ: Kevin minikevin12 is offline
    MemberRank
    Aug 2008 Join Date
    Montreal, QuebeLocation
    994Posts

    Re: Aion Fix For java couldnt reserve space for object heap

    I get this error but i have 4gb ram xD but alrdy know this but its wierd though...

  7. #7
    Alpha Member WulfgarXX is offline
    MemberRank
    Jan 2007 Join Date
    1,507Posts

    Re: Aion Fix For java couldnt reserve space for object heap

    Quote Originally Posted by penihop View Post
    i mean that you don't need to edit the .bat in build folder, but the one i said,
    yes well i have 4 gb also but XP is limited to 3.5
    That's because the x32/x86 version of java doesnt support more than 1.5GB of Ram.

    It's also recommended that you run a x64 bits OS along with a x64 bits Java version to avoid these problems.

  8. #8
    Apprentice OriginGames is offline
    MemberRank
    Mar 2011 Join Date
    18Posts

    Re: Aion Fix For java couldnt reserve space for object heap

    Thanks =D



Advertisement