Adjust MAX_PAYLOAD_SIZE on cordova-android?

2020-05-24 Thread Chris Brody
In this source:
https://github.com/apache/cordova-android/blob/master/framework/src/org/apache/cordova/NativeToJsMessageQueue.java

the MAX_PAYLOAD_SIZE seems to be 500 MB which could be way, way too large.
I have client who reported an issue with OutOfMemoryError, looks like an
attempt to allocate 148 MB with only 25 MB free. I have already adjusted my
own plugin to send the results with maximum chunk size of 5-10 MB.

Considering that the new major release is happening soon, is there any
chance we could get this adjusted now?

I think it would be ideal to support a configuration parameter, if anyone
has time to work on it.

I hope I don't have to support a custom workaround fork for too long.

Chris

https://www.linkedin.com/in/chrisbrody/


Nightly build #1423 for cordova has succeeded!

2020-05-24 Thread Apache Jenkins Server
Nightly build #1423 for cordova has succeeded!
The latest nightly has been published and you can try it out with 'npm i -g 
cordova@nightly'

For details check build console at 
https://builds.apache.org/job/cordova-nightly/1423/consoleFull

-
Jenkins for Apache Cordova

-
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org