[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fossil-dev
Subject:    Re: [fossil-dev] Limiting heap and stack space in Fossil
From:       Warren Young <warren () etr-usa ! com>
Date:       2017-06-26 19:15:16
Message-ID: C253C3C1-DF74-4B09-A700-E5A84B06BD38 () etr-usa ! com
[Download RAW message or body]

On Jun 24, 2017, at 8:09 AM, Richard Hipp <drh@sqlite.org> wrote:
> 
> This should be implemented on trunk.  Please try it out and let me
> know how it works.

Yep, that's got it, thanks!

Incidentally, I ran the test from the Stack Overflow post on a nearly-untouched \
CentOS 7 VM over the weekend, and it required only tens of kiB of stack to launch a \
do-nothing shell.

I also tested it on a macOS Sierra system, and it required even less, something like \
16 kiB as I recall.

So, something about this particular CentOS 7 system is odd, but I don't know what \
makes it require so much stack to do something so basic.  One of the guesses in the \
SO comments is a large environment, but it's "only" 2.4 kB.  

(Back when I was a boy, you could get the whole environment onto a VT102 screen!)
_______________________________________________
fossil-dev mailing list
fossil-dev@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic