Message174533
| Author |
ebfe |
| Recipients |
benjamin.peterson, christian.heimes, ctheune, ebfe, gvanrossum, hynek |
| Date |
2012年11月02日.15:10:24 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1351869024.77.0.840710489486.issue16381@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The heuristic basically has to decide if memory pressure is so high that it's not save to return to the interpreter. Even if there is a chosen value (e.g. failed allocation attempts below 1mb are considered fatal), there can always be another OS-thread in the interpreter process that eats away exactly that memory while we are returning MemoryError - the program might still hang.
FWICS all MemoryErrors are to be considered fatal or none of them |
|