Author ronaldoussoren
Recipients christian.heimes, davin, ned.deily, pitrou, ronaldoussoren, vinay0410
Date 2020-08-12.12:49:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597236560.15.0.732569716393.issue39584@roundup.psfhosted.org>
In-reply-to
Content
I expect that this is more a problem with how memory management works on macOS, the freeze and crash is likely an indication of eager allocation of memory by the system.

It is far from sure if implementing a workaround is feasible, the upper limit for safe calls to ftruncate likely depends on the amount of RAM in the system.

BTW. The sample code tries to allocate well over a petabyte of memory, how realistic is that code?  It might be good enough to document that using very large amounts of memory with multiprocessing.shared_memory causes problems on macOS.
History
Date User Action Args
2020-08-12 12:49:20ronaldoussorensetrecipients: + ronaldoussoren, pitrou, christian.heimes, ned.deily, davin, vinay0410
2020-08-12 12:49:20ronaldoussorensetmessageid: <1597236560.15.0.732569716393.issue39584@roundup.psfhosted.org>
2020-08-12 12:49:20ronaldoussorenlinkissue39584 messages
2020-08-12 12:49:19ronaldoussorencreate