Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

OutOfMemory error on setting unresponsive mobile app to debug



OutOfMemory exception occurs when an unresponsive mobile application is set to debug.

Error Messages

AndroidRuntime: FATAL EXCEPTION: main
AndroidRuntime: Process: com.pega.[name].prod, PID: 26196
AndroidRuntime: java.lang.OutOfMemoryError: Failed to allocate a 128289884 byte allocation with 16777216 free bytes and 59MB until OOM
AndroidRuntime: at java.util.Arrays.copyOf(
AndroidRuntime: at java.lang.AbstractStringBuilder.expandCapacity(
AndroidRuntime: at java.lang.AbstractStringBuilder.ensureCapacityInternal(
AndroidRuntime: at java.lang.AbstractStringBuilder.append(
AndroidRuntime: at java.lang.StringBuffer.append(
AndroidRuntime: at
AndroidRuntime: at
AndroidRuntime: at
AndroidRuntime: at
AndroidRuntime: at$NetworkStatusReceiver.onReceive(
AndroidRuntime: at$ReceiverDispatcher$
AndroidRuntime: at android.os.Handler.handleCallback(
AndroidRuntime: at android.os.Handler.dispatchMessage(
AndroidRuntime: at android.os.Looper.loop(
AndroidRuntime: at
AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
AndroidRuntime: at$
AndroidRuntime: at

Steps to Reproduce


Root Cause

A defect in Pegasystems’ code or rules.
OutOfMemory exception occurred during the URL encode of a JSON array with logs (~128MB).


Update to Hybrid Client (HC) which is available through the Build Server.
Streaming with the use of a buffered sync and encoding each element individually, is implemented in HC


Published May 7, 2019 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us