Skip to content

scaladoc OOMs while building ScalaTest 3.2.7 docs in community build #12124

Closed
@griggt

Description

@griggt

https://github.com/lampepfl/dotty/runs/2362395012?check_suite_focus=true#step:5:2235

java.lang.RuntimeException: Doc command exited with code 137 for project scalatest. Project details:
SbtCommunityProject(scalatest,scalacticDotty/clean; scalacticDottyJS/clean; scalacticTestDotty/test; scalatestTestDotty/test; scalacticDottyJS/compile; scalatestDottyJS/compile,List(),List(SbtCommunityProject(scala-xml,xml/test,List(),List(),dotty.communitybuild.SbtCommunityProject$$$Lambda$23/1725097945@7cd62f43,xml/publishLocal,xml/doc,List(-Xcheck-macros, -Ysafe-init),false)),dotty.communitybuild.projects$$$Lambda$27/1458849419@6d4b1c02,scalacticDotty/publishLocal; scalatestDotty/publishLocal; scalacticDottyJS/publishLocal; scalatestDottyJS/publishLocal,;scalacticDotty/doc,List(-Xcheck-macros, -Ysafe-init),false)
	at dotty.communitybuild.CommunityProject.doc(projects.scala:79)
	at dotty.communitybuild.CommunityProject.doc$(projects.scala:35)
	at dotty.communitybuild.SbtCommunityProject.doc(projects.scala:104)
	at dotty.communitybuild.Main$.generateDocs(Main.scala:14)
	at dotty.communitybuild.Main$.$anonfun$6(Main.scala:67)
	at scala.collection.immutable.List.map(List.scala:250)
	at dotty.communitybuild.Main$.main(Main.scala:78)
	at dotty.communitybuild.Main.main(Main.scala)

Sometimes it completes without error.

It works fine for me locally, but I have quite a bit more RAM than the 7GB (?) that I think the GitHub hosted runners provide.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions