[I/O] Android M gets new RAM manager that shows average and maximum memory usage on every app

Android M is going to change things once again for the community by offering granular control over various actions such as monitoring RAM consumption. Android is pretty good at managing its memory but it does not show you exactly what is going on inside that mobile device of yours. Starting with Android M Developer Preview things are going to change in the sense that the screen gets more informative readouts regarding recent RAM usage on a per-app basis.


Android M



In order to get to the RAM manager on the Android M you have to get to the main Settings menu and tap Apps and then the hamburger menu button you will see at the top right corner. Then you tap Advanced and then Memory. The first slider will show you how much memory was used in the recent past and a rating plus an organized app list showing you the most memory-eating apps in a descending manner.


The dark green bars show the current average memory usage whereas the light green will show the maximum memory a certain app has used recently. This allows users to find memory monopolizers. If you want to find out more information regarding RAM memory, you tap on an app.


Apart from seeing what is going on memory-wise you can also stop processes that are still active.


Source: AndroidPolice

General Linux shell

Compiling on linux with low ram

[et_pb_section admin_label=”Section” fullwidth=”on” specialty=”off”][et_pb_fullwidth_post_title admin_label=”Fullwidth Post Title” title=”on” meta=”on” author=”off” date=”on” categories=”on” comments=”off” featured_image=”on” featured_placement=”background” parallax_effect=”off” parallax_method=”on” text_orientation=”center” text_color=”dark” text_background=”on” text_bg_color=”rgba(255,255,255,0.9)” module_bg_color=”rgba(255,255,255,0)” title_all_caps=”off” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]

[/et_pb_fullwidth_post_title][/et_pb_section][et_pb_section admin_label=”section”][et_pb_row admin_label=”row”][et_pb_column type=”4_4″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]

I had to compile a C++ program today on a VPS with 2 gigs of ram. the base ubuntu 12.04 install took 115MB of ram. For some reason when linking the libs at the end the program shot above 2 gigs of ram and got killed by the openvz system. took me a while of googling but the answer to my woes was multi fold,


  1. I switched from a debug build to a release build which was much more optimized.
  2. I added the following to my Cflags :
    1. CFLAGS=”–param ggc-min-expand=0 –param ggc-min-heapsize=8192″

Dont both of those things cleared up my issue in no time.

[/et_pb_text][/et_pb_column][/et_pb_row][et_pb_row admin_label=”row”][et_pb_column type=”4_4″][et_pb_text admin_label=”bottom above footer” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]

[/et_pb_text][et_pb_divider admin_label=”Divider” color=”#ffffff” show_divider=”off” divider_style=”solid” divider_position=”top” hide_on_mobile=”on”]

[/et_pb_divider][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]