Hi Nicholas, I don't know how to set JVM memory for this bundle command, but this PR <https://github.com/apache/spark/pull/49842> might help reduce memory usage and avoid the OOM issue.
On Fri, Feb 7, 2025 at 12:07 AM Nicholas Chammas <nicholas.cham...@gmail.com> wrote: > Gengliang has the CSS/display issue fixed > <https://github.com/apache/spark/pull/49823>. However, the problem that I > described below with building the PySpark API docs persists, and I’m not > the only one experiencing it > <https://github.com/apache/spark/pull/49823#issuecomment-2638882282>. > > On Feb 5, 2025, at 1:59 PM, Nicholas Chammas <nicholas.cham...@gmail.com> > wrote: > > I’m trying to build the docs locally to reproduce this (and also to make a > change to some Python API docs), but I’m getting consistent Java heap > memory errors when I get to the Python part of the build. > > I’m trying to build the docs as follows: > > ``` > SKIP_SCALADOC=1 SKIP_RDOC=1 SKIP_SQLDOC=1 bundle exec jekyll serve > ``` > > Is there some way to allocate more memory to Spark specifically from > within the Sphinx build? > > > If you have hit this issue locally and resolved it somehow, please chime > in. > > Nick > >