would be nice to allow to configure it to a percentage of the heap size