Jump to content
  • 0

[Question-L2jServer] Object Heap


Question

Posted

Hi guys. It's me again with my problems :D

I juts compiled L2jServer (Freya client) with eclipse and when I'm trying to launch GS I'm getting error:

 

Error occurred during initialization of VM

Could not reserve enough space for object heap

 

Could someone tell me how to fix this s*1t...? :/

 

P.S. My GS memory:

REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8 -Xnoclassgc -XX:+AggressiveOpts

P.P.S. GS memory is default

P.P.P.S. I got 1gb ram and Win7 (32bit (if would need))

P.P.P.P.S. Sorry for bad english :s

P.P.P.P.P.S. If someone can, please, give me the correct memory, which I would replace with mine.

7 answers to this question

Recommended Posts

  • 0
Posted

REM java -server -Xmx1536m -Xms1024m -Xmn512m -XX:PermSize=256m -XX:SurvivorRatio=8

 

P.P.P.S. I got 1gb ram and Win7 (32bit (if would need))

 

try 1024 / 512 / 256. Btw 1 giga ram... Mh ? Overall ? Or free ? If it's overall just forget to launch anything :P, if it's free, do as I said. You can try lower values for xmx, like 768 or so.

  • 0
Posted

try 1024 / 512 / 256. Btw 1 giga ram... Mh ? Overall ? Or free ? If it's overall just forget to launch anything :P, if it's free, do as I said. You can try lower values for xmx, like 768 or so.

You say I wont be able to launch epilogue or freya server? :/

 

P.S. Over all

  • 0
Posted

1 giga ram overall + win7, it's like shooting your computer with a gun. If you can launch anything with that, at best it's microsoft office and a MP3 player lol.

 

I perhaps not understood or simply you didn't udnerstand the "overall" stuff.

 

With only 1giga ram put back windowsXP/linux, with a cleaned version it takes 120mo ram. Even with that that will be hard to launch all...

 

1 giga RAM, I had that in 2004 perhaps, but in 2011 :P. Time to invest in a new computer, my dear.

  • 0
Posted

1 giga ram overall + win7, it's like shooting your computer with a gun. If you can launch anything with that, at best it's microsoft office and a MP3 player lol.

 

I perhaps not understood or simply you didn't udnerstand the "overall" stuff.

 

With only 1giga ram put back windowsXP/linux, with a cleaned version it takes 120mo ram. Even with that that will be hard to launch all...

 

1 giga RAM, I had that in 2004 perhaps, but in 2011 :P. Time to invest in a new computer, my dear.

I know, but I don't have enough money for a new computer, and when I'll have enough I'll buy a new one WITHOUT DOUBT.

 

P.S. I can launch fully working interlude server (almost without lag :D )

P.P.S. I'm not kidding :)

  • 0
Posted

The thing is, it will lead to a crash or at least a permanent masslag after some hours.

 

Change for 512 / 384 / 256. You should tweak loginserver aswell to avoid to burn ram.

 

Anyway you have to play with those values.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...