We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
不断的循环压缩就出现OOM了 Luban.compress(this, filesLi).setCompressFormat(Bitmap.CompressFormat.JPEG).setMaxHeight(1920).setMaxWidth(1080).setMaxSize(500) .putGear(Luban.CUSTOM_GEAR) .asListObservable() .subscribe(new Consumer<List>() { @OverRide public void accept(List files) throws Exception { int size = files.size(); while (size-- > 0) { filesList.add(files.get(size)); if(size == 0) { uploadImg2(filesList);
} } } }, new Consumer<Throwable>() { @Override public void accept(Throwable throwable) throws Exception { throwable.printStackTrace(); dialog.cancel(); } });
java.lang.OutOfMemoryError: Failed to allocate a 24 byte allocation with 0 free bytes and 3GB until OOM
The text was updated successfully, but these errors were encountered:
No branches or pull requests
不断的循环压缩就出现OOM了
Luban.compress(this, filesLi).setCompressFormat(Bitmap.CompressFormat.JPEG).setMaxHeight(1920).setMaxWidth(1080).setMaxSize(500)
.putGear(Luban.CUSTOM_GEAR)
.asListObservable()
.subscribe(new Consumer<List>() {
@OverRide
public void accept(List files) throws Exception {
int size = files.size();
while (size-- > 0) {
filesList.add(files.get(size));
if(size == 0) {
uploadImg2(filesList);
java.lang.OutOfMemoryError: Failed to allocate a 24 byte allocation with 0 free bytes and 3GB until OOM
The text was updated successfully, but these errors were encountered: