There is a NumInstancesFilter which can be used to filter the number of
instances that are supposed to be launched on the host this replaces the
work that is planned for max_instances config parameter to perform.
It is removed as the main functionality of this parameter is not yet
implemented in the code.
512mb is the minimum memory that is required to launch a partition and
rounding off starts only from value greater that 512mb this decides the
min value needs to be set to the config parameter max_memory.
Added default value to the max_instances parameter of dpm.py
The default value is set to -1, which means that there is no artificial
upper bound for the number of instances on this CPC. The number of
instances is only limited by the number of (free) partitions on this