*SOLVED* OutOfMemoryError [message #7856] |
Fri, 27 October 2006 13:37 |
goeldi
Messages: 92 Registered: June 2006
|
Member |
|
|
I am getting this error message, when I try to compile ant java inside a slackware vps (jdk-1_5_0_09 + apache-ant-1.6.5).
BUILD FAILED
/usr/local/src/lamp_so/apache-ant-1.6.5/build.xml:1316: The following
error occurred while executing this line:
java.lang.OutOfMemoryError: unable to create new native thread
I already increased the settings in the conf file. The hardware node has 2GB RAM.
Here are my conf files:
---------- 200.conf -----------
ONBOOT="yes"
# UBC parameters (in form of barrier:limit)
# Primary parameters
AVNUMPROC="1300:1300"
NUMPROC="1300:1300"
NUMTCPSOCK="100:100"
NUMOTHERSOCK="100:100"
VMGUARPAGES="1996144:2147483647"
# Secondary parameters
KMEMSIZE="18752512:1999990102"
TCPSNDBUF="319488:772428"
TCPRCVBUF="319488:724288"
OTHERSOCKBUF="132096:636896"
DGRAMRCVBUF="132096:332096"
OOMGUARPAGES="996144:1547483647"
# Auxiliary parameters
LOCKEDPAGES="200:200"
SHMPAGES="10192:40192"
PRIVVMPAGES="89152:1873575"
NUMFILE="2048:2048"
NUMFLOCK="100:110"
NUMPTY="26:26"
NUMSIGINFO="1024:1024"
DCACHESIZE="19048576:52977208"
PHYSPAGES="214700000:2147000000"
NUMIPTENT="5000:5000"
# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="20000000:90000000"
DISKINODES="9000000:9900000"
QUOTATIME="90000"
# CPU fair sheduler parameter
CPUUNITS="1700"
IP_ADDRESS="192.168.100.7"
HOSTNAME="slacky"
VE_ROOT="/home/vz/root/$VEID"
VE_PRIVATE="/home/vz/private/$VEID"
OSTEMPLATE="slackware-10.2-i386-minimal"
ORIGIN_SAMPLE="vps.basic"
NAMESERVER="192.168.100.4"
SEARCHDOMAIN="myhome.ch"
QUOTAUGIDLIMIT="1000"
---------- end of 200.conf ----------
---------- vz.conf ----------
## Global parameters
VIRTUOZZO=yes
LOCKDIR=/vz/lock
DUMPDIR=/vz/dump
VE0CPUUNITS=1000
http_proxy=http://proxy.myhome.ch:3128/
proxy_username=myhelp.yoursolution
proxy_password=pronto
## Logging parameters
LOGGING=yes
LOGFILE=/var/log/vzctl.log
LOG_LEVEL=0
## Disk quota parameters
DISK_QUOTA=yes
VZFASTBOOT=no
# The name of the device whose ip address will be used as source ip for VE.
# By default automatically assigned.
#VE_ROUTE_SRC_DEV="eth0"
## Template parameters
TEMPLATE=/vz/template
## Defaults for VEs
VE_ROOT=/home/vz/root/$VEID
VE_PRIVATE=/home/vz/private/$VEID
CONFIGFILE="vps.basic"
DEF_OSTEMPLATE="fedora-core-4"
## Load vzwdog module
VZWDOG="no"
IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length"
---------- end of vz.conf ---------
[Updated on: Mon, 30 October 2006 06:25] by Moderator Report message to a moderator
|
|
|
|
Re: OutOfMemoryError [message #7862 is a reply to message #7859] |
Fri, 27 October 2006 14:19 |
goeldi
Messages: 92 Registered: June 2006
|
Member |
|
|
cat /proc/user_beancounters:
Version: 2.5
uid resource held maxheld barrier limit failcnt
200: kmemsize 1008030 1742092 18752512 1999990102 0
lockedpages 0 0 200 200 0
privvmpages 6538 114332 89152 1873575 124567
shmpages 1280 1296 10192 40192 0
dummy 0 0 0 0 0
numproc 14 29 1300 1300 0
physpages 1643 26090 214700000 2147000000 0
vmguarpages 0 0 1996144 2147483647 0
oomguarpages 1643 26090 996144 1547483647 0
numtcpsock 5 6 100 100 0
numflock 1 3 100 110 0
numpty 2 2 26 26 0
numsiginfo 0 10 1024 1024 0
tcpsndbuf 4472 167700 319488 772428 0
tcprcvbuf 0 55900 319488 724288 0
othersockbuf 6708 10088 132096 636896 0
dgramrcvbuf 0 2236 132096 332096 0
numothersock 7 10 100 100 0
dcachesize 0 0 19048576 52977208 0
numfile 336 642 2048 2048 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 10 10 5000 500
[Updated on: Fri, 27 October 2006 14:22] Report message to a moderator
|
|
|
|
|