Applying workarounds for HHVM compatibility
HHVM does not report memory usage with enough detail - fixes division by 0 cases
Merge pull request #141 from Ocramius/hotfix/hhvm-compat

Applying workarounds for HHVM compatibility