Try to fix build with really high values -Xmx1024m -XX:MaxPermSize=1024m