From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from felloff.net ([94.135.131.69]) by ttr; Thu May 1 20:22:48 EDT 2014 Message-ID: List-ID: <9front.9front.org> X-Glyph: ➈ X-Bullshit: lossless content-driven cache extension Date: Fri, 2 May 2014 02:22:45 +0200 From: cinap_lenrek@felloff.net To: 9front@9front.org Subject: Re: [9front] 9pc64 In-Reply-To: <3B54C219-B268-4BAA-9638-62CEF6E18EDB@ar.aichi-u.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit they show the *used* memory size. your program isnt using the memory but is just allocating virtual address space. to use the memory, you need to actually touch it. malloc() doesnt touch the memory. do a memset() on the allocated block or use mallocz(len, 1); -- cinap