Thanks david. So my next question was that is it enabled in linux kernel that android uses. How do i confirm it?<span></span><br><br>On Thursday, March 20, 2014, Dave Hylands &lt;<a href="mailto:dhylands@gmail.com">dhylands@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Sandeep,<br><br><br>On Wed, Mar 19, 2014 at 4:48 AM, manty kuma &lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;mantykuma@gmail.com&#39;);" target="_blank">mantykuma@gmail.com</a>&gt; wrote:<br>
&gt;<br>&gt; Hi,<br>&gt;<br>&gt; Suppose I have an executable of size 60MB and I want to execute it on<br>
&gt; android(ARM), will 60MB be allocated to load the code onto the RAM?<br>&gt;<br>&gt; I remember studying about demand paging in Linux kernel. Is it<br>&gt; relevant here? If yes, is it implemented in Linux kernels used in<br>

&gt; Android?<br><br></div>All executables are brought into memory through demand paging. So the kernel will only load those parts of the executable that are actually executed.<br><br></div>Swap isn&#39;t typically enabled by default though (I don&#39;t recall the exact config options).<br>

<div><br><div>--<br>Dave Hylands<br>Shuswap, BC, Canada<br><a href="http://www.davehylands.com" target="_blank">http://www.davehylands.com</a></div></div></div>
</blockquote>