Reducing max memory, fixing javadoc warning