Fix in MemoryUtils.checkMemory(), Runtime.maxMemory() used (instead of
totalMemory()). ReflectionUtils.invoke () added.