One option to increase memory for the build is to copy the
`.jvmopts-ci` file and create a `.jvmopts` file. sbt uses `.jvmopts`
if it finds in the working dir.

On Thu, 7 Nov 2024 at 10:40, JingZhang Chen <roio...@apache.org> wrote:
>
> compile task OOM on my laptop, have not investigate yet.
>
> apart from this is fine.
> [x] Download links are valid.
> [x] Checksums and signatures.
> [x] LICENSE/NOTICE files exist
> [x] No unexpected binary files
> [x] All source files have ASF headers
> [ ] Can compile from source
> [ ] Can verify the binary build
>
> [error] ## Exception when compiling 1204 sources to
> /Users/roiocam/runtime/downloads/vote/apache-pekko-grpc-1.1.1-src-20241106/interop-tests/target/scala-2.13/classes
> [error] java.lang.OutOfMemoryError: GC overhead limit exceeded
> [error]
> scala.tools.nsc.backend.jvm.opt.Inliner$$Lambda$8446/884518876.get$Lambda(Unknown
> Source)
> [error]
> java.lang.invoke.LambdaForm$DMH/596512129.invokeStatic_L_L(LambdaForm$DMH)
> [error]
> java.lang.invoke.LambdaForm$MH/707806938.linkToTargetMethod(LambdaForm$MH)
> [error]
> scala.tools.nsc.backend.jvm.opt.Inliner.inlineCallsite(Inliner.scala:822)
> [error]
> scala.tools.nsc.backend.jvm.opt.Inliner.$anonfun$runInliner$10(Inliner.scala:352)
> [error]
> scala.tools.nsc.backend.jvm.opt.Inliner$$Lambda$8440/578839094.apply(Unknown
> Source)
> [error] scala.collection.IterableOnceOps.foreach(IterableOnce.scala:619)
> [error] scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:617)
> [error] scala.collection.AbstractIterable.foreach(Iterable.scala:935)
> [error] scala.collection.IterableOps$WithFilter.foreach(Iterable.scala:905)
> [error]
> scala.tools.nsc.backend.jvm.opt.Inliner.runInliner(Inliner.scala:378)
> [error]
> scala.tools.nsc.backend.jvm.opt.Inliner.runInlinerAndClosureOptimizer(Inliner.scala:281)
> [error]
> scala.tools.nsc.backend.jvm.PostProcessor.runGlobalOptimizations(PostProcessor.scala:156)
> [error]
> scala.tools.nsc.backend.jvm.GeneratedClassHandler$GlobalOptimisingGeneratedClassHandler.complete(GeneratedClassHandler.scala:98)
> [error]
> scala.tools.nsc.backend.jvm.GenBCode$BCodePhase.$anonfun$run$1(GenBCode.scala:81)
> [error]
> scala.tools.nsc.backend.jvm.GenBCode$BCodePhase.run(GenBCode.scala:78)
> [error] scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1564)
> [error] scala.tools.nsc.Global$Run.compileUnits(Global.scala:1548)
> [error] scala.tools.nsc.Global$Run.compileSources(Global.scala:1540)
> [error] scala.tools.nsc.Global$Run.compileFiles(Global.scala:1653)
> [error] scala.tools.xsbt.CachedCompiler0.run(CompilerBridge.scala:176)
> [error] scala.tools.xsbt.CachedCompiler0.run(CompilerBridge.scala:139)
> [error] scala.tools.xsbt.CompilerBridge.run(CompilerBridge.scala:43)
> [error]
> sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:91)
> [error]
> sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:196)
> [error]
> sbt.internal.inc.MixedAnalyzingCompiler$$Lambda$6826/1281337991.apply$mcV$sp(Unknown
> Source)
> [error]
> scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
> [error]
> sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:252)
> [error]
> sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:186)
> [error]
> sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:166)
> [error]
> sbt.internal.inc.MixedAnalyzingCompiler$$Lambda$6822/707785608.apply(Unknown
> Source)
> [error] sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:241)
> [error]
> java.lang.OutOfMemoryError: GC overhead limit exceeded
> at
> scala.tools.nsc.backend.jvm.opt.Inliner$$Lambda$8446/884518876.get$Lambda(Unknown
> Source)
> at
> java.lang.invoke.LambdaForm$DMH/596512129.invokeStatic_L_L(LambdaForm$DMH)
> at
> java.lang.invoke.LambdaForm$MH/707806938.linkToTargetMethod(LambdaForm$MH)
> at scala.tools.nsc.backend.jvm.opt.Inliner.inlineCallsite(Inliner.scala:822)
> at
> scala.tools.nsc.backend.jvm.opt.Inliner.$anonfun$runInliner$10(Inliner.scala:352)
> at
> scala.tools.nsc.backend.jvm.opt.Inliner$$Lambda$8440/578839094.apply(Unknown
> Source)
> at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:619)
> at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:617)
> at scala.collection.AbstractIterable.foreach(Iterable.scala:935)
> at scala.collection.IterableOps$WithFilter.foreach(Iterable.scala:905)
> at scala.tools.nsc.backend.jvm.opt.Inliner.runInliner(Inliner.scala:378)
> at
> scala.tools.nsc.backend.jvm.opt.Inliner.runInlinerAndClosureOptimizer(Inliner.scala:281)
> at
> scala.tools.nsc.backend.jvm.PostProcessor.runGlobalOptimizations(PostProcessor.scala:156)
> at
> scala.tools.nsc.backend.jvm.GeneratedClassHandler$GlobalOptimisingGeneratedClassHandler.complete(GeneratedClassHandler.scala:98)
> at
> scala.tools.nsc.backend.jvm.GenBCode$BCodePhase.$anonfun$run$1(GenBCode.scala:81)
> at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase.run(GenBCode.scala:78)
> at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1564)
> at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1548)
> at scala.tools.nsc.Global$Run.compileSources(Global.scala:1540)
> at scala.tools.nsc.Global$Run.compileFiles(Global.scala:1653)
> at scala.tools.xsbt.CachedCompiler0.run(CompilerBridge.scala:176)
> at scala.tools.xsbt.CachedCompiler0.run(CompilerBridge.scala:139)
> at scala.tools.xsbt.CompilerBridge.run(CompilerBridge.scala:43)
> at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:91)
> at
> sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:196)
> at
> sbt.internal.inc.MixedAnalyzingCompiler$$Lambda$6826/1281337991.apply$mcV$sp(Unknown
> Source)
> at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
> at
> sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:252)
> at
> sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:186)
> at
> sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:166)
> at
> sbt.internal.inc.MixedAnalyzingCompiler$$Lambda$6822/707785608.apply(Unknown
> Source)
> at sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:241)
> [error] [launcher] error during sbt launcher: java.lang.OutOfMemoryError:
> GC overhead limit exceeded
>
>
> PJ Fanning <fannin...@apache.org> 于2024年11月6日周三 19:53写道:
>
> > Hello Pekko Community,
> >
> > This is a call for a vote to release Apache Pekko gRPC 1.1.1-RC1.
> >
> > The discussion thread:
> >
> > https://lists.apache.org/thread/q4mmbdx2hpcqnpbr4pko403mgh8p4nwd
> >
> > The release candidate:
> >
> > https://dist.apache.org/repos/dist/dev/pekko/GRPC-1.1.1-RC1/
> >
> > This release has been signed with a PGP key available here:
> >
> > https://downloads.apache.org/pekko/KEYS
> >
> > Release Notes:
> >
> > https://github.com/apache/pekko-grpc/pull/406
> >
> > Git tag for the release:
> >
> > https://github.com/apache/pekko-grpc/tree/v1.1.1-RC1
> > Git commit ID: 017e70aad85ba31f0fb182faa827a259104be6f8
> >
> > Please download, verify, and test.
> >
> > I have also staged jars in the Apache Nexus Repository. These were built
> > with the same code as appears in this Source Release Candidate.
> > I would appreciate if users could test with these too.
> > If anyone finds any serious problems with these jars, please also notify us
> > on this thread.
> >
> > https://repository.apache.org/content/groups/staging/org/apache/pekko/
> >
> > For sbt 1.9.4 or greater you can add this resolver
> >
> > resolvers += Resolver.ApacheMavenStagingRepo
> >
> > Otherwise for older versions of sbt
> >
> > resolvers += "Apache Pekko Staging" at
> > "https://repository.apache.org/content/groups/staging";
> >
> >
> > The VOTE will pass if we have more positive votes than negative votes
> > and there must be a minimum of 3 approvals from Pekko PMC members.
> > Anyone voting in favour of the release, could you please provide a list of
> > the checks you have done?
> > The vote will be left open for at least 72hrs.
> >
> > [ ] +1 approve
> > [ ] +0 no opinion
> > [ ] -1 disapprove with the reason
> >
> > To learn more about Apache Pekko, please see https://pekko.apache.org/
> >
> > Checklist for reference:
> >
> > [ ] Download links are valid.
> > [ ] Checksums and signatures.
> > [ ] LICENSE/NOTICE files exist
> > [ ] No unexpected binary files
> > [ ] All source files have ASF headers
> > [ ] Can compile from source
> > [ ] Can verify the binary build
> >
> > To compile from the source, please refer to:
> >
> >
> > https://github.com/apache/pekko-grpc?tab=readme-ov-file#building-from-source
> >
> > To verify the binary build, please refer to:
> >
> >
> > https://github.com/apache/pekko-site/wiki/Pekko-Release-Process#verifying-the-binary-build
> >
> > Some notes about verifying downloads can be found at:
> >
> > https://pekko.apache.org/download.html#verifying-downloads
> >
> > Here is my +1 (binding).
> >
> > Thanks,
> > PJ Fanning (Apache Pekko PMC member)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@pekko.apache.org
> > For additional commands, e-mail: dev-h...@pekko.apache.org
> >
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pekko.apache.org
For additional commands, e-mail: dev-h...@pekko.apache.org

Reply via email to