1753384 Members
5741 Online
108792 Solutions
New Discussion юеВ

Re: java crash

 
Chang_6
Regular Advisor

java crash

Hi,

System: HP 11.00 9000

We have an application that crashed. The outfile that it produced has a few java.lang.NullPointerException first . After that I can see
"Java HotSpot(TM) Server VM warning: Cannot allocate alt signal stack" messages. After that "Java HotSpot(TM) Server VM warning: Java HotSpot(TM) Server VM warning: Cannot allocate alt signal stack" and ater that

Exception in thread "AppTen[585:Down File]" java.lang.OutOfMemoryError: requested 1000 bytes
Possible causes:
- not enough swap space left, or
- kernel parameter MAXDSIZ is very small.
Out of memory while reading in symbol table of /opt/java1.3/jre/bin/../lib/PA_RISC2.0/server/libjvm.sl
Error<1>: Out of memory while tracing stack.


Can someone help!!!

java -showversion
java version "1.3.1.08"

swapinfo:

Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1572864 0 1572864 0% 0 - 1 /dev/vg00/lvol2
reserve - 829692 -829692
memory 1592076 440948 1151128 28%



5 REPLIES 5
TwoProc
Honored Contributor

Re: java crash

what's the size of MAXDSIZE?

This is what I was using for some java servlets with hotspot... (alas, no longer in place for good comparisons)

maxdsiz 2147483648 - 2147483648
maxdsiz_64bit 4294967296 - 4294967296

I got those java servlets up to about 1.3 Gig with java 1.3.1.07 if I recall correctly...

Also, check out your start up parameters (possibly wrapper.bin.parameters in your web servers jserv.properties file? or in your httpd.conf file?) -Xmx -Xms ... etc. Those parameters set up how large your java server will run. My experience is to keep jacking up this number until it won't start up any longer then back off by 200M or so to give the java server itself some headroom for itself besides your stuff...

We are the people our parents warned us about --Jimmy Buffett
Chang_6
Regular Advisor

Re: java crash

Hi

MAXDSIZ is 67108864
maxssiz 8388608


We don't have webserver. this is standalone application

any help??
Chang_6
Regular Advisor

Re: java crash

Hello

any help?
Oliver Zell_1
Advisor

Re: java crash

please try to increase maxdsiz. 64 Mb is default setting for 11.0/32 bit. Maximum allowed value is 2Gb.
Find tuning recommendations on
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,1604,00.html and http://www.hp.com/products1/unix/java/infolibrary/prog_guide/expanding_memory.html
hope this helps, Katharina
TwoProc
Honored Contributor

Re: java crash

I think it's pretty clear your maxdsize is too small - increase both of them as I have indicated higher up in the message list.
We are the people our parents warned us about --Jimmy Buffett