Workday errors in plain English.

Submit an Error

Studio Assembly OutOfMemoryError on Large Files

✓ Verified Workday Studio 11 lookups
The error java.lang.OutOfMemoryError: Java heap space at com.workday.esb.assembly.AssemblyRunner

What does "java.lang.OutOfMemoryError: Java heap space" mean in Workday Studio?

The assembly tried to hold too much in memory at once. Studio runs with a fixed heap and loading a large file or report result wholesale - rather than streaming it - is enough to exhaust it.

Quick fix

Re-run with the input split into smaller batches, or filter the source report to reduce the record count.

Permanent fix

Restructure the assembly to stream: split early, process chunk by chunk, avoid full-document XSLT on large payloads, write output incrementally. Add an input-size check that fails fast with a clear message when the file exceeds what the assembly was designed for.

Troubleshooting

  1. Check the input size that triggered the failure versus runs that succeeded.
  2. Find the steps materializing the whole message: full-document XSLT, aggregators collecting everything before output, variables holding the full payload.
  3. Check whether the integration uses streaming-capable components or loads everything up front.
Was this helpful?

Related errors