Justus Winter writes: > But currently Mailman3 does fork+exec, so it doesn't get to share > the parent's pages. I experimented with fork-and-dont-exec [0], > but the results were underwhelming, because reference counting can > cause pages to diverge. Surprisingly, gc.freeze didn't seem to > help much, so there may have been issues beyond the reference > counts. > [...] > I think Python just doesn't support sharing code across processes > well.
Seems likely. I know that Emacsen have always advised running just one process for this reason (also because users usually want all their recent hacks available in all buffers, but memory hogging is a big reason). _______________________________________________ Mailman-Developers mailing list -- mailman-developers@python.org To unsubscribe send an email to mailman-developers-le...@python.org https://mail.python.org/mailman3/lists/mailman-developers.python.org/ Mailman FAQ: https://wiki.list.org/x/AgA3 Security Policy: https://wiki.list.org/x/QIA9