86,283.1 MB allocated, 18 issues #536

Open
opened 2026-01-29 22:13:26 +00:00 by claunia · 0 comments
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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#536