View Single Post

   
  #8 (permalink)  
Old 01-05-2008, 08:00 AM
Dan Foster
 
Posts: n/a
Default Re: Running out of memory at under 2GB

In article <1133213728.997183.239820@z14g2000cwz.googlegroups .com>, Digital Puer <digital_puer@hotmail.com> wrote:
>
> I am not sure about the OS version, but 'uname -a' returns this:
>
> AIX XXX 2 5 0004A20D4C00


That's AIX 5.2. (Another way to tell: 'oslevel')

> the model number is: IBM,7028-6E4


Ahh, good. That's 64-bit hardware. Also, your serial number apparently
is 10-4A20D. (Also can see it from 'lsattr -El sys0 -a systemid')

Your ulimit settings seems to be restricting you. Might want to set
'data', 'memory', and possibly 'stack' to unlimited values for the user
you are running the application for.

# vi /etc/security/limits

will do the trick. Not sure if you have to reboot or not.

You can set it in the default entry or override default entry with
specific per-user settings.

You may also have insufficient swap space configured?

What does 'lsps -a' say?

My first test failed almost at 1 GB (but not at that exact point)
because I ran out of paging (swap) space even though I had *plenty* of
physical memory left.

You can tell if this happens because programs gets killed and 'errpt'
mentions VMM messages and software program abnormally terminated, with
'errpt -a|more' mentioning due to system running out of paging space.

I am testing it on one of my AIX 5.2 machines with VisualAge C/C++ 6.0 +
latest patches for both OS and VAC.

-Dan
Reply With Quote