1 Thread = 3 interpreter launched ???

"Martin v. Löwis" martin at v.loewis.de
Sat Apr 7 18:13:22 EDT 2007


> When creating the thread, Python forks 2 times and thus consume me
> around 60% of RAM !
> It's very critical, am i missed something ?

In case Diez's answer isn't clear: you misinterpret the data you
see. That each process is listed with 4172kB memory doesn't mean
they consume 12000kB together. Instead, they consume 4172kB
together, as all data are shared across all threads.

Regards,
Martin



More information about the Python-list mailing list