1 Reply Latest reply on Jun 2, 2006 6:18 AM by VisolveGroup

    Running JBOSS on VPS - OutOfMemory problem

    Konstantin Karasiov Newbie

      We got a VPS hosting and tried to launch JBoss 4.0.3SP1. The provider guaranted 224 Mb of memory.
      But it didn't come easy. We used JDK 1.5.0_07 with params -server -Xms128m -Xmx128m - JBOSS couldn't allocate memory launch at all,
      with -Xms64m -Xmx64m it launch, but Tomcat threw:
      java.lang.OutOfMemoryError: unable to create new native thread
      We could launch just JDK 1.4.2_11 with -client
      How to make the system work in all its power?
      Does it mean that our processes launch with some restrictions? How to remove them?

      OS: Fedora Core 2
      Linux version 2.6.8-022stab067.1-smp (root@kern268.build.sw.ru) (gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)) #1 SMP Mon Jan 23 20:46:56 MSK 2006
      Quite suspicious /proc/meminfo - when JBoss not running
      MemTotal: 2070100 kB
      MemFree: 69980 kB
      Buffers: 202688 kB
      Cached: 1134124 kB
      SwapCached: 748 kB
      Active: 1057780 kB
      Inactive: 733988 kB
      HighTotal: 1243008 kB
      HighFree: 39744 kB
      LowTotal: 827092 kB
      LowFree: 30236 kB
      SwapTotal: 4096524 kB
      SwapFree: 4092968 kB
      Dirty: 332 kB
      Writeback: 0 kB
      Mapped: 585720 kB
      Slab: 186100 kB
      Committed_AS: 967360 kB
      PageTables: 5752 kB
      VmallocTotal: 172024 kB
      VmallocUsed: 8956 kB
      VmallocChunk: 162960 kB