Skip to content

[Question-L2jServer] Object Heap

Featured Replies

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.

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.

  • Author

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

Win 7 took at least 500 ram.. So it will be hard for you to launch a server..

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.

  • Author

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 :)

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.

  • Author

I haven't got any problems with c6 servers, but with epilogue/freya I have a lot of disadvantages :D

 

P.S. So i wont be able to launch fully working epilogue/freya server? :/

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.