lkml.org 
[lkml]   [1996]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: the mmap() problem, a'la "grep x /dev/zero"
Date
Linus Torvalds writes:
> Please do tell if this makes a difference for you..

I tried once again (with 1.99.13):

circe:meskes 105) grep x /dev/zero
grep: memory exhausted

It allocated much more memory than it should. I had a limit of 4MB, but the
size went up to 12MB (5MB resident). Also I was able to run the memtest
program on 8MB despite datasize limited to 1MB. Hmm I have to check the
sources to see what happened. And my program with a global definition of
'char a[128MB]' still dumpos core.

Michael

--
Michael Meskes | _____ ________ __ ____
meskes@informatik.rwth-aachen.de | / ___// ____/ // / / __ \___ __________
meskes@sanet.de | \__ \/ /_ / // /_/ /_/ / _ \/ ___/ ___/
meskes@debian.org | ___/ / __/ /__ __/\__, / __/ / (__ )
Use Debian Linux! | /____/_/ /_/ /____/\___/_/ /____/


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.039 / U:4.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site