The following line creates a copy of all of the sourcemaps being uploaded with the sourcemaps upload command:
|
self.files.insert(k.to_owned(), v.to_owned()); |
If the files being uploaded are large, this will consume a lot of memory.
It should be possible to eliminate this memory allocation.
The following line creates a copy of all of the sourcemaps being uploaded with the
sourcemaps uploadcommand:sentry-cli/src/utils/file_upload.rs
Line 189 in 739bc00
If the files being uploaded are large, this will consume a lot of memory.
It should be possible to eliminate this memory allocation.