Thread: Exception in thread "Thread-0" java.lang.OutOfMemoryError ?

Results 1 to 3 of 3
  1. #1 Exception in thread "Thread-0" java.lang.OutOfMemoryError ? 
    Donator

    F1NN's Avatar
    Join Date
    May 2008
    Posts
    504
    Thanks given
    28
    Thanks received
    16
    Rep Power
    156
    Code:
    Exception in thread "Thread-0" java.lang.OutOfMemoryError: Java heap space
            at server.players.client.<init>(client.java:1707)
            at server.players.PlayerHandler.newPlayerClient(PlayerHandler.java:176)
            at server.server.run(server.java:233)
            at java.lang.Thread.run(Thread.java:619)
    I don't really know, I am using Devolution 2.7, and I am getting around 70-85 online, and the server is on a decent VPS. So is this a VPS related issue? Because I don't know?
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Oct 2009
    Posts
    45
    Thanks given
    5
    Thanks received
    12
    Rep Power
    189
    This is just a guess, but...

    Your server most likely sets the maximum amount of heap space as 512 MB, which seems to be near the amount that would be consumed on a winterlove server with 70-80 players on. To increase the heap space, just open up your run.bat equivalent and change:

    Code:
    -Xmx512m
    To a higher number, say:

    Code:
    -Xmx1024m
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Mar 2009
    Age
    28
    Posts
    1,008
    Thanks given
    32
    Thanks received
    7
    Rep Power
    111
    Mapdata.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •