hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yang Xiaoliang <yangxiaoliang2...@gmail.com>
Subject Re: Current available Memory
Date Fri, 25 Feb 2011 02:57:19 GMT
Thanks a lot!

Yang Xiaoliang

2011/2/25 maha <maha@umail.ucsb.edu>

> Hi Yang,
>
>  The problem could be solved using the following link:
> http://www.roseindia.net/java/java-get-example/get-memory-usage.shtml
>  You need to use other memory managers like the Garbage collector and its
> finalize method to measure memory accurately.
>
>  Good Luck,
>   Maha
>
> On Feb 23, 2011, at 10:11 PM, Yang Xiaoliang wrote:
>
> > I had also encuntered the smae problem a few days ago.
> >
> > any one has another method?
> >
> > 2011/2/24 maha <maha@umail.ucsb.edu>
> >
> >> Based on the Java function documentation, it gives approximately the
> >> available memory, so I need to tweak it with other functions.
> >> So it's a Java issue not Hadoop.
> >>
> >> Thanks anyways,
> >> Maha
> >>
> >> On Feb 23, 2011, at 6:31 PM, maha wrote:
> >>
> >>> Hello Everyone,
> >>>
> >>> I'm using  " Runtime.getRuntime().freeMemory()" to see current memory
> >> available before and after creation of an object, but this doesn't seem
> to
> >> work well with Hadoop?
> >>>
> >>> Why? and is there another alternative?
> >>>
> >>> Thank you,
> >>>
> >>> Maha
> >>>
> >>
> >>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message