1846167 Members
4618 Online
110254 Solutions
New Discussion

Re: Java memory out

 
Alzenir Silva
Occasional Contributor

Java memory out

I resolved my problem with aplication´s log


xception in thread "CompileThread0" java.lang.OutOfMemoryError: requested 187328 bytes for Chunk::new

Possible causes:

- not enough swap space left, or

- kernel parameter MAXDSIZ is very small.

Java out of memory messages are marked with pid: 14739 in /var/adm/syslog/syslog.log.

[Full GC 26450K->3262K(1013632K), 0.3279105 secs]



5 REPLIES 5
Arunvijai_4
Honored Contributor

Re: Java memory out

Hello,

Check the following,

1) # swapinfo -tam

2) Java version

3) Update to latest Java version and patchs. For more information, http://www.hp.com/go/java

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
spex
Honored Contributor

Re: Java memory out

Hi,

Check for errant processes consuming excess RAM.

# UNIX95= ps -e -o "pid,user,vsz,args" | sort -nr -k 3 | more

PCS
Steven E. Protter
Exalted Contributor

Re: Java memory out

Shalom,

Java is a resource hog. Plan on patching or upgrading java to a more efficient state or buying memory.

It could also be due to poor application programming. Those programmers are always doing that.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
randy hoffmaster
New Member

Re: Java memory out

We are getting the same error message. Have you resolved the issue?

Thanks,

Randy
Peter Nikitka
Honored Contributor

Re: Java memory out

Hi,

don't forget to check for the option -Xmx xxxMB, java portects itself for been hogged with memory by this limit.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"