[Python-ideas] Support parsing stream with `re`

Ram Rachum ram at rachum.com
Mon Oct 8 08:29:37 EDT 2018


Thanks for your help everybody! I'm very happy to have learned about mmap.

On Mon, Oct 8, 2018 at 3:27 PM Richard Damon <Richard at damon-family.org>
wrote:

> On 10/8/18 8:11 AM, Ram Rachum wrote:
> > " Windows will aggressively fill up your RAM in cases like this
> > because after all why not?  There's no use to having memory just
> > sitting around unused."
> >
> > Two questions:
> >
> > 1. Is the "why not" sarcastic, as in you're agreeing it's a waste?
> > 2. Will this be different on Linux? Which command do I run on Linux to
> > verify that the process isn't taking too much RAM?
> >
> >
> > Thanks,
> > Ram.
> I would say the 'why not' isn't being sarcastic but pragmatic. (And I
> would expect Linux to work similarly). After all if you have a system
> with X amount of memory, and total memory demand for the other processes
> is 10% of X, what is the issue with letting one process use 80% of X
> with memory usages that is easy to clear out if something else wants it.
> A read only page that is already backed on the disk is trivial to make
> available for another usage.
>
> Memory just sitting idle is the real waste.
>
> --
> Richard Damon
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20181008/38621a48/attachment.html>


More information about the Python-ideas mailing list