# size (needed to handle mallocs just below 'large_objects') but
# hacking at the current nursery position in collect_and_reserve().
- newsize = 4*1024*1024 # fixed to 4MB by default
+ newsize = env.estimate_best_nursery_size()
+ # 4*1024*1024 # fixed to 4MB by default
# (it was env.estimate_best_nursery_size())
"""To call when nursery_free overflows nursery_top.
First check if the nursery_top is the real top, otherwise we
can just move the top of one cleanup and continue
Do a minor collection, and possibly also a major collection,
and finally reserve 'totalsize' bytes at the start of the