Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
working-directory: google-cloud-java
run: librarian generate secretmanager
- name: Run librarian generate all (integration test)
if: matrix.task == 'integration' && github.event_name == 'push' && github.ref == 'refs/heads/main'
if: matrix.task == 'integration'
working-directory: google-cloud-java
run: librarian generate --all
create-issue-on-failure:
Expand Down
1 change: 1 addition & 0 deletions internal/librarian/java/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ func Format(ctx context.Context, libraries ...*config.Library) error {
if err != nil {
return err
}
env["JAVA_TOOL_OPTIONS"] = "-XX:+UseParallelGC -XX:TieredStopAtLevel=1 -Xmx2g"
// Batch file paths in chunks of maxFilesPerFormatBatch (2,000 files).
// Passing 2,000 files per CLI invocation avoids exceeding OS command-line length limits (ARG_MAX)
// while preventing JVM heap exhaustion on RAM-constrained CI runners.
Expand Down
Loading