OpenSearch/distribution/tools/plugin-cli
Jason Tedor cdd06d40d2
Do not checksum all bytes at once in plugin install (#44649)
Today when checksumming a plugin zip during plugin install, we read all
of the bytes of the zip into memory at once. When trying to run the
plugin installer on a small heap (say, 64 MiB), this can lead to the
plugin installer running out of memory when checksumming large
plugins. This commit addresses this by reading the plugin bytes in 8 KiB
chunks, thus using a constant amount of memory independent of the size
of the plugin.
2019-07-21 07:24:23 +09:00
..
licenses Make plugin verification FIPS 140 compliant (#44266) 2019-07-12 14:34:15 +03:00
src Do not checksum all bytes at once in plugin install (#44649) 2019-07-21 07:24:23 +09:00
build.gradle Make plugin verification FIPS 140 compliant (#44266) 2019-07-12 14:34:15 +03:00