I am not sure, I managed to build successfully using the mvn in the
distribution today.

Il giorno mar 14 ago 2018 alle ore 22:02 Sean Owen <sro...@gmail.com> ha
scritto:

> If you're running zinc directly, you can give it more memory with -J-Xmx2g
> or whatever. If you're running ./build/mvn and letting it run zinc we might
> need to increase the memory that it requests in the script.
>
> On Tue, Aug 14, 2018 at 2:56 PM Steve Loughran <ste...@hortonworks.com>
> wrote:
>
>> Is anyone else getting the sql module maven build on master branch
>> failing when you use zinc for incremental builds?
>>
>> [warn]                   ^
>> java.lang.OutOfMemoryError: GC overhead limit exceeded
>>         at
>> scala.tools.nsc.backend.icode.GenICode$Scope.<init>(GenICode.scala:2225)
>>         at
>> scala.tools.nsc.backend.icode.GenICode$ICodePhase$Context.enterScope(GenICode.scala:1916)
>>         at
>> scala.tools.nsc.backend.icode.GenICode$ICodePhase$Context.enterMethod(GenICode.scala:1901)
>>         at
>> scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:118)
>>         at
>> scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:71)
>>         at
>> scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:148)
>>         at
>> scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:98)
>>         at
>> scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:71)
>>
>> All is well when zinc is disabled, so I've a workaround -its just a very
>> slow workaround
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe e-mail: dev-unsubscr...@spark.apache.org
>>
>>

Reply via email to