86,283.1 MB allocated, 18 issues #539

Closed
opened 2026-01-29 22:13:28 +00:00 by claunia · 1 comment
Owner

Originally created by @thepwrtank18 on GitHub (Oct 2, 2022).

Here's my code:

                            using (var archive = SevenZipArchive.Open(@$"C:\Users\Public\WebInstallerTemp\{BuildProps.folderName}\{distribution.downloadFile.Replace("%contentType%", listBox1.Text)}"))
                            {
                                foreach (var entry in archive.Entries.Where(entry => !entry.IsDirectory))
                                {
                                    entry.WriteToDirectory(@$"C:\Users\Public\WebInstallerTemp\{BuildProps.folderName}", new ExtractionOptions()
                                    {
                                        ExtractFullPath = true,
                                        Overwrite = true
                                    });
                                }
                                archive.Dispose();
                            }

The archive ranges from 800 MB to 1 GB, depending on what you put on the program. It's writing 86 GB. Not password protected.

Originally created by @thepwrtank18 on GitHub (Oct 2, 2022). Here's my code: ``` using (var archive = SevenZipArchive.Open(@$"C:\Users\Public\WebInstallerTemp\{BuildProps.folderName}\{distribution.downloadFile.Replace("%contentType%", listBox1.Text)}")) { foreach (var entry in archive.Entries.Where(entry => !entry.IsDirectory)) { entry.WriteToDirectory(@$"C:\Users\Public\WebInstallerTemp\{BuildProps.folderName}", new ExtractionOptions() { ExtractFullPath = true, Overwrite = true }); } archive.Dispose(); } ``` The archive ranges from 800 MB to 1 GB, depending on what you put on the program. It's writing 86 GB. Not password protected.
Author
Owner

@adamhathcock commented on GitHub (Oct 3, 2022):

are you bragging? I don't understand.

I'm guessing you tested with 7Zip.

@adamhathcock commented on GitHub (Oct 3, 2022): are you bragging? I don't understand. I'm guessing you tested with 7Zip.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#539