Results 1 to 4 of 4
  1. #1
    iMemory is offline Member
    Join Date
    Oct 2009
    Posts
    2
    Rep Power
    0

    Default Java heap space - OutOfMemory

    I keep getting this on my server app.
    Its a game server so yeah.
    I'm doing xmx at the moment but it only goes up to 1575mb.
    My dedicated server has 8gb of memory so I'm wondering how do I allocate the rest of that?
    32 bit CPU
    Windows Server 2003 OS

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

    Default

    Fix your program instead so that it doesn't use all that memory.

  3. #3
    iMemory is offline Member
    Join Date
    Oct 2009
    Posts
    2
    Rep Power
    0

    Default

    It has over 200 connections at a time and is online for days. It's bound to take up that much memory.
    It caches a lot of stuff, like monsters, NPCs and characters so yeah :/

  4. #4
    mrmatt1111's Avatar
    mrmatt1111 is offline Senior Member
    Join Date
    Aug 2009
    Location
    San Jose, CA, USA
    Posts
    320
    Rep Power
    6

Similar Threads

  1. Issue with Java Heap Space
    By charan reddy in forum Advanced Java
    Replies: 37
    Last Post: 10-07-2009, 11:35 PM
  2. Java heap space OutofMemoryError
    By everlast88az in forum Advanced Java
    Replies: 3
    Last Post: 05-18-2009, 09:12 AM
  3. Java Heap Space
    By sandeeprao.techno in forum Advanced Java
    Replies: 19
    Last Post: 10-30-2008, 12:27 PM
  4. Java heap space error
    By gezzel in forum New To Java
    Replies: 19
    Last Post: 09-25-2008, 01:07 AM
  5. Java heap space?
    By javanewbie in forum New To Java
    Replies: 1
    Last Post: 06-24-2008, 07:55 PM

Posting Permissions

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