Operating System - HP-UX
1834182 Members
2584 Online
110064 Solutions
New Discussion

Out of memory error on hp-ux 11 iv2

 
SOLVED
Go to solution
praveen..
Super Advisor

Out of memory error on hp-ux 11 iv2

Hi,
development team was running some same script on 5 servers, they are able to run on 3 servers but not on 2 servers

OS: HP-UX 11iv2

they are getting the below error:

ASSERTION FAILED: tmp at JSHashTable.cpp line 367 thread 6: ASSERTION FAILED: tmp at JSHashTable.cpp line 367 thread 2: out of memory



FATAL ERROR: ASSERTION FAILED, exiting...



out of memory



FATAL ERROR: ASSERTION FAILED, exiting...



------------------------------------------------------------

EXIT CODE: 1

------------------------------------------------------------

FAILED!

Error running rmart.pl! Check logs and re-try! Exiting...

------------------------------------------------------------

EXIT CODE: 1

------------------------------------------------------------

FAILED!

+ [ 1 -gt 0 ]

+ exit 1

----------------------------------------------------------------------

----------------------------------------------------------------------

----------------------------------------------------------------------

END TIME: Mon Jan 8 15:03:57 CST 2007

EXIT CODE: 1

----------------------------------------------------------------------


Please suggest, is it system related issue or their script related issue.

Thanks
4 REPLIES 4
Fabian Briseño
Esteemed Contributor

Re: Out of memory error on hp-ux 11 iv2

Hello praveen.

I would say this is script related, tell the development team to check their script
Knowledge is power.
Steven E. Protter
Exalted Contributor
Solution

Re: Out of memory error on hp-ux 11 iv2

Shalom,

I'd check the following:

swapinfo -tam

If you are really out of memroy, you should be paging and near 100% memory use.

vmstat

Also: Consider raising shmmax and shmmni in the kernel. I believe both parameters are dynamic in 11i v2.

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
Peter Godron
Honored Contributor

Re: Out of memory error on hp-ux 11 iv2

Praveen,
I assume the servers are not the same memory spec!

As the code is the same it must be the environment. Without knowing the code it's difficult to establish what is causing the problem. What does the program try to do?

If for example it tries to build a table in memory it may work on one machine, but a second server, with less memory, may report a out-of-memory error.
praveen..
Super Advisor

Re: Out of memory error on hp-ux 11 iv2

I have forwarded this request to dev. team

because we have free memory on servers.

Thanks everybody