java.lang.OutOfMemoryError

I sometimes get the following error message when I tried to use API to upload Zip file.
My testing procedure:

  1. use API to upload zip file
  2. use API to check statue and get status: failed in the response.
  3. go to Voltbuilder upload page to check more details.

The error message gone after I retry with the same zip file after 15mins.
I would like to ask for advice on how to prevent this error. Thanks.

Looking at the log, it seems you’re the only one experiencing this. It looks like something we need to dig into some more - we’re on it.

In the meantime, doing a retry is your best workaround.

I tried googling:

com.android.build.gradle.internal.tasks.Workers$ActionFacade java.lang.OutOfMemoryError

and got a few hits. You might want to check those out.

As far as I can tell, it’s Gradle which is running out of memory. You might be able to request that it use more heap.