Operating System - HP-UX
1752323 Members
5846 Online
108786 Solutions
New Discussion юеВ

Ran out of memory with a heap size of 121634816

 
Md. Shafiullah
Advisor

Ran out of memory with a heap size of 121634816

My system is rp8420 with HPUX 11i.
I have 20GB memory. Free 7.1GB
When i try to run a GUI program it says

$/opt/SIU/bin/launchpad &
[1] 6433

$Ran out of memory with a heap size of 121634816

[1] + Done(1)
/opt/SIU/bin/launchpad &

Could you help to solve the problem?




5 REPLIES 5
RAC_1
Honored Contributor

Re: Ran out of memory with a heap size of 121634816

Looks like something related to java. Does this lauchpad uses java in some way?? If yes, you should look at controlling heap size for it.-max heap size, initial heap size.
There is no substitute to HARDWORK
Rajesh SB
Esteemed Contributor

Re: Ran out of memory with a heap size of 121634816

Hi,

Hope you are running Java Application.
Here is the similar kind of case find in recent thread.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=955277

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=768809

Regards,
Rajesh
Md. Shafiullah
Advisor

Re: Ran out of memory with a heap size of 121634816

Dear all
As this is a GUI program it uses Java. What is heap size anyway and how to set max heap size?
Ivajlo Yanakiev
Respected Contributor

Re: Ran out of memory with a heap size of 121634816


java -Xms64m -Xmx512m

where -Xms specifies the initial Java heap size and -Xmx the maximum Java heap size.

take care that heap size have hardware /platform/ max size.
RAC_1
Honored Contributor

Re: Ran out of memory with a heap size of 121634816

ps -efx | grep [j]ava will tell what are current sizes. you can control them as follows

java -x "options"
There is no substitute to HARDWORK