Exception in thread "main" java.lang.OutOfMemoryError

Results 1 to 2 of 2
  1. #1
    Member elegos is offline
    MemberRank
    Nov 2004 Join Date
    ItalyLocation
    25Posts

    Exception in thread "main" java.lang.OutOfMemoryError

    I've got a strange error...
    <<<<CUT>>>>
    parsed 3784 etc items
    parsed 647 armors
    parsed 798 weapons
    found 1 crystallization templates
    created 21 buylists
    skill tree for class 0 has 37 skills
    skill tree for class 1 has 137 skills
    skill tree for class 2 has 369 skills
    skill tree for class 3 has 263 skills
    skill tree for class 4 has 130 skills
    skill tree for class 5 has 318 skills
    skill tree for class 6 has 314 skills
    skill tree for class 7 has 126 skills
    skill tree for class 8 has 251 skills
    skill tree for class 9 has 243 skills
    skill tree for class 10 has 42 skills
    skill tree for class 11 has 152 skills
    skill tree for class 12 has 279 skills
    skill tree for class 13 has 292 skills
    skill tree for class 14 has 265 skills
    skill tree for class 15 has 163 skills
    skill tree for class 16 has 336 skills
    skill tree for class 17 has 312 skills
    skill tree for class 18 has 41 skills
    skill tree for class 19 has 133 skills
    skill tree for class 20 has 311 skills
    skill tree for class 21 has 241 skills
    skill tree for class 22 has 160 skills
    skill tree for class 23 has 322 skills
    skill tree for class 24 has 320 skills
    skill tree for class 25 has 40 skills
    skill tree for class 26 has 138 skills
    skill tree for class 27 has 277 skills
    skill tree for class 28 has 252 skills
    skill tree for class 29 has 163 skills
    skill tree for class 30 has 308 skills
    skill tree for class 31 has 40 skills
    skill tree for class 32 has 129 skills
    skill tree for class 33 has 327 skills
    skill tree for class 34 has 247 skills
    skill tree for class 35 has 157 skills
    skill tree for class 36 has 332 skills
    skill tree for class 37 has 315 skills
    skill tree for class 38 has 42 skills
    skill tree for class 39 has 151 skills
    skill tree for class 40 has 283 skills
    skill tree for class 41 has 265 skills
    skill tree for class 42 has 163 skills
    skill tree for class 43 has 303 skills
    skill tree for class 44 has 32 skills
    skill tree for class 45 has 132 skills
    skill tree for class 46 has 301 skills
    skill tree for class 47 has 102 skills
    skill tree for class 48 has 270 skills
    skill tree for class 49 has 33 skills
    skill tree for class 50 has 126 skills
    skill tree for class 51 has 291 skills
    skill tree for class 52 has 272 skills
    skill tree for class 53 has 13 skills
    skill tree for class 54 has 97 skills
    skill tree for class 55 has 242 skills
    skill tree for class 56 has 100 skills
    skill tree for class 57 has 253 skills
    loaded 58 char templates
    restored 0 clans
    2223 npc templates loaded
    loaded 60 exp mappings
    created 54 Teleport templates
    created 59 Lvl up data templates
    created 58 Character Modifiers
    setting up world regions ...
    ... done (80x160 set up)
    Exception in thread "main" java.lang.OutOfMemoryError
    Press any key to continue . . .
    I know it's the npc table the problem (without 2223 npcs the server runs correctly)...
    I've got 512 MB ram and 4 GB of virtual one lol....

    What's the problem? How can I fix it?


  2. #2
    Member elegos is offline
    MemberRank
    Nov 2004 Join Date
    ItalyLocation
    25Posts
    ok fixed... I opened my startServer.bat and insered these two lines (two lines total):
    @java -Xms221m -Xmx221m -cp c3p0-0.8.4.5.jar;mysql-connector-java-3.0.16-ga-bin.jar;l2jserver.jar net.sf.l2j.Server
    @pause



Advertisement