]> git.llucax.com Git - software/dgc/cdgc.git/commit
Try to keep the memory usage low more aggressively
authorLeandro Lucarella <llucax@gmail.com>
Wed, 15 Sep 2010 01:15:29 +0000 (22:15 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Mon, 20 Sep 2010 23:33:52 +0000 (20:33 -0300)
commitfcae2848ff5191cadae251c0a1c5ce3ea66a02b8
tree9ef7971060cf152ac9365a2a145eb8e94dbfc0c5
parent3389bc359d65b04c74bb41ef4b640367cb9aa617
Try to keep the memory usage low more aggressively

Memory usage is minimize()d only when a big allocation is done. This could
be problematic for applications that only perform small objects
allocation, as their memory usage could grow a lot, specially if the eager
allocation option is used.

Trigger memory minimization even for small objects allocation to avoid
that pathological case.
rt/gc/cdgc/gc.d