AIX

AIX

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


#Power
#Power
 View Only
  • 1.  Heap size on AIX ?

    Posted Mon May 16, 2011 10:59 AM

    Originally posted by: sidharth2009


    Dear ALL,

    How by which command, to find the

    java heap size on

    AIX
    Thanks
    #AIX-Forum


  • 2.  Re: Heap size on AIX ?

    Posted Mon May 16, 2011 11:13 AM


  • 3.  Re: Heap size on AIX ?

    Posted Tue May 17, 2011 03:32 AM

    Originally posted by: sidharth2009


    Thank you orphy,

    I can type that and search in Google,

    infact i found the following

    Here is the code of GetHeapSize.java
    public class GetHeapSize
    {
    public static void main(String[]args){
    long heapSize = Runtime.getRuntime().totalMemory();
    System.out.println("Heap Size= "+heapSize);
    }
    }
    But am getting error , saying Java class Not found , for the above code
    Regards
    #AIX-Forum