aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/android/AndroidRuleClasses.java
diff options
context:
space:
mode:
authorGravatar ulfjack <ulfjack@google.com>2017-07-05 13:34:40 -0400
committerGravatar John Cater <jcater@google.com>2017-07-06 07:12:56 -0400
commit75aec49692b1ccddc8d2341d7e722682851d5fda (patch)
tree324695ca780abbc5cf68b5f39153ffaa909cccb0 /src/main/java/com/google/devtools/build/lib/rules/android/AndroidRuleClasses.java
parent321cecdb656c0b1a7f2c0823c96500c61fdbbcfe (diff)
Rewrite blob upload to use temporary files
Previously, it was allocating in-memory buffers for upload, which caused it to run out of memory on large file uploads (or on many small uploads running simultaneously). Unfortunately, we don't create the temporary file in the right location (due to separation of the BlobStore from the ByteStreamServer), so we copy the file again to write it to the OnDiskBlobStore, which isn't ideal. There'll need to be another BlobStore API change to make that work, when the InMemoryBlobStore is gone. PiperOrigin-RevId: 160974550
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/android/AndroidRuleClasses.java')
0 files changed, 0 insertions, 0 deletions