View Issue Details

IDProjectCategoryView StatusLast Update
0006695JEDI Code LibraryJclCompressionpublic2020-06-02 14:04
Reporternosek1969Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0006695: 7z problem compress large file
DescriptionI use TJcl7zCompressArchive when I have compress big file more 3gb or more,
I tested 100mb (text) - work fine
200mb (bin) - work fine or not work, showing "out of resources" or nothing - application frezze, not stress cpu
3gb (bin) - not work, showing "out of resources" or nothing - application frezze, not stress cpu



void __fastcall TForm1::BitBtn1Click(TObject *Sender)
{
    std::unique_ptr<TJcl7zCompressArchive>Compression(new TJcl7zCompressArchive("Archive.7z", 0, false));

    Compression->AddFile("AddToArchiwe.xml", "AddToArchiwe.xml");
// Compression->OnProgress = SevenZipOnProgress;
    Compression->Compress();
}
// ---------------------------------------------------------------------------

void __fastcall TForm1::SevenZipOnProgress(TObject *Sender, const long long Value, const long long MaxValue)
{
    Memo1->Lines->AddPair("MaxValue", IntToStr(MaxValue));

    double corect = (double)60000 / (double)MaxValue;

    ProgressBar1->Position = corect * (double)Value;
}
// ---------------------------------------------------------------------------

windows 64
7z.dll 32 bit aplication 32 bit
7z - v 19.00

IDE 10.4
TagsNo tags attached.
Fixed in GIT commit
Fixed in SVN revision
IDE version10.3

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-06-02 14:04 nosek1969 New Issue