AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only

AIX 6.0 process memory limit API

  • 1.  AIX 6.0 process memory limit API

    Posted Sat August 20, 2011 05:28 AM

    Originally posted by: uddipta


    Hi,

    I have been trying to calculate the amount of free heap memory a process has. But,there are many ways to control max process memory. One of them is through getrlimit(). Other ways include exporting LDR_CNTRL.Is there any C++ API to get the actual max process memory from the program itself? It must work for large & very large memory model!
    #AIX-Forum