Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
  HXTT Cobol v5.0
  HXTT DBF v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Excel v6.1
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT DBF
Out of Memory in server
Oscar San Martin
2011-04-19 10:59:17.0
Server service frecuentrly crash with message :

java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start(Native Method)
at com.hxtt.global.k.a(Unknown Source)
at co.hxtt.sql.server.m.(Unknown Source)
at com.hxtt.sql.server.c.run(Unknown Source)
at com.hxtt.global.b.run(Unknown Source)

SCOUnix machine have 1.5 MB RAM

my manifest file :

Manifest-Version: 1.0
Created-By: HXTT Version Robot
Main-Class: com.hxtt.sql.admin.Admin

Name: com/hxtt/sql/dbf/
Specification-Title: HXTT DBF JDBC 3.0 Package
Implementation-Title: com.hxtt.sql.dbf
Specification-Version: 5.0.002 on April 12, 2011
Specification-Vendor: Hongxin Technology & Trade Ltd.
Comment: JDBC 3.0 Package for Xbase database
Implementation-Version: 5.0.002 on April 12, 2011
Implementation-Vendor: Hongxin Technology & Trade Ltd.
Implementation-URL: http://www.hxtt.com/dbf.html

Name: com/hxtt/sql/admin/
Specification-Title: HXTT Database Admin
Implementation-Title: com.hxtt.sql.admin
Specification-Vendor: Hongxin Technology & Trade Ltd.
Specification-Version: 0.5 on April 12, 2011
Comment: HXTT Database Admin
Implementation-Version: 0.5 on April 12, 2011
Implementation-Vendor: Hongxin Technology & Trade Ltd.
Implementation-URL: http://www.hxtt.com/dbf/dbadmin.html

sh:

#!/bin/sh

JAVA_HOME=/opt/java2-1.4.2
HXTT_PACKAGE=/u/javas/DBF_JDBC30.jar

# for multi instances adapt those lines.
TMP_DIR=/tmp

CLASSPATH=$HXTT_PACKAGE

$JAVA_HOME/bin/java \
-Djava.awt.headless=true \
-Djava.library.path=$JAVA_HOME/lib \
-cp $CLASSPATH \
-Xms256m -Xmx512m -XX:MaxPermSize=256m \
com.hxtt.sql.admin.HxttService

I need only more memory ????

Thanks in advance...
Re:Out of Memory in server
HXTT Support
2011-04-19 16:48:02.0
>SCOUnix machine have 1.5 MB RAM
1.5GB?

(MaxProcessMemory - JVMMemory - ReservedOsMemory) / (ThreadStackSize) = Number of threads
You can add -Xss256k Try
-Xms256M -Xmx1024M -Xss256k -XX:MaxPermSize=256m
Re:Re:Out of Memory in server
Oscar San Martin
2011-04-20 18:30:03.0
Now when I insert -Xms256M -Xmx1024M -Xss256k -XX:MaxPermSize=256m line or when I insert original line : -Xms256m -Xmx512m -XX:MaxPermSize=256m, at startup I receive : "Ivalid Initial heap size: ............"

Any Idea ?

Thanks.
Re:Re:Re:Out of Memory in server
Oscar San Martin
2011-04-20 18:34:54.0
...and "Could not create the java virtual machine" message appears...
Re:Re:Re:Re:Out of Memory in server
HXTT Support
2011-04-20 18:49:35.0
>"Ivalid Initial heap size: ............"
Maybe a space error? Try
-Xms64m -Xmx768m -Xss256k -XX:MaxPermSize=256m \

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap