Just as I suspected: We read totalram: 995859 Since we don't consider mem_unit, we then think the system has: 995859 bytes / 1048576 bytes/MB = 0.949725 MB
And since we use integers, 0.949725 becomes 0. The fix is described in MESOS-318<https://issues.apache.org/jira/browse/MESOS-318>and I'll push to get it piggybacked in this <https://reviews.apache.org/r/8171/> review. Hongjun, in terms of moving forward for now, you can do one of the following: -explicitly specify slave resources (using --resources). -patch your version of the code (are you running 0.9.0 or trunk?) On Thu, Dec 6, 2012 at 10:34 PM, Hongjun Zhang <[email protected]> wrote: > After I run the a.out ,the cons > totalram: 995859 > freeram: 34103 > sharedram: 0 > bufferram: 58425 > totalswap: 3503615 > freeswap: 3495360 > procs: 895 > totalhigh: 785282 > freehigh: 3838 > mem_unit: 4096 >
