try to get rid of quantum deprecation warnings and reduce vm memory usage to
something more reasonable.
I may have been too aggressive in reducing vm memory usage on the last commit...