*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
|
|
|