travis config
diff --git a/pom.xml b/pom.xml
index 44450c9..e371fcb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -133,8 +133,9 @@
         <artifactId>maven-surefire-plugin</artifactId>
         <version>2.19.1</version>
         <configuration>
+          <!-- set heap size to work around http://github.com/travis-ci/travis-ci/issues/3396 -->
           <!-- put javac.jar on bootclasspath when executing tests -->
-          <argLine>-Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar</argLine>
+          <argLine>-Xmx1024m -Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/${javac.version}/javac-${javac.version}.jar</argLine>
         </configuration>
       </plugin>
     </plugins>