tweak travis mem settings
resolve some 2.10 warnings with exception handling