Increasing reference values due to instability of memory usage at runtime