mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Make BatchBufferTest allocate less memory
Setting to 2x BATCH_SIZE_BYTES PiperOrigin-RevId: 331124129
This commit is contained in:
parent
be68d13ba5
commit
f7ff5d59a4
@ -33,7 +33,7 @@ import org.junit.runner.RunWith;
|
||||
public final class BatchBufferTest {
|
||||
|
||||
/** Bigger than {@code BatchBuffer.BATCH_SIZE_BYTES} */
|
||||
private static final int BUFFER_SIZE_LARGER_THAN_BATCH_SIZE_BYTES = 100 * 1000 * 1000;
|
||||
private static final int BUFFER_SIZE_LARGER_THAN_BATCH_SIZE_BYTES = 6 * 1000 * 1024;
|
||||
/** Smaller than {@code BatchBuffer.BATCH_SIZE_BYTES} */
|
||||
private static final int BUFFER_SIZE_MUCH_SMALLER_THAN_BATCH_SIZE_BYTES = 100;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user