juninho12 / freearc

Automatically exported from code.google.com/p/freearc
1 stars 0 forks source link

Странность в использовании памяти #312

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Добрый день, Булат,

Запускалась команда вида:
for %i in (11 12 13 14) do arc a -m9x  -s -r -rr 
-mrep:400m+lzma:96mb:fb128:mc%i -dicfem# --logfile=..\_rca.log 
..\rep_400m_lz_96m_fb128_mc%i.arc

Значение параметра mc: 11, 12, 13, 14
Memory for compression: 737, 745, 701, 705
Размер архива: 122,364,425; 122,071,861; 125,925,221; 125,160,079
При повышении mc до 12 наблюдается 
закономерный рост объема используемой 
памяти и уменьшение размера архива. При 13 - 
объем памяти вдруг резко падает, и при этом 
размер архива получается больше.

Цитата из лога:
----------------------------
FreeArc 0.67 (August 12 2010) Creating archive: 
..\rep_400m_lz_96m_fb128_mc11.arc using rep:400mb+lzma:96mb:normal:128:mc11
Memory for compression 737mb, decompression 496mb, cache 16mb
Started: 0.00 secs
Found 24 files: 0.00 secs
Sorted 24 files: 0.01 secs
Joined filelists, 24 files: 0.01 secs
Compressing 3 files of 0 bytes: 0.04 secs
  Using storing
  Memory for compression 0b, decompression 0b
  Solid block compression results
    storing: 0 bytes in -0.000 seconds
Compressing 21 files of 963,236,595 bytes: 0.04 secs
  Using rep:400mb+lzma:96mb:normal:128:mc11
  Memory for compression 737mb, decompression 496mb
  Solid block compression results
    rep:400mb: 371,680,836 bytes in 4.633 seconds
    lzma:96mb:normal:128:mc11: 121,148,104 bytes in -1.000 seconds

  Writing directory: 108.17 secs
  Found 4 directory names: 108.18 secs
  Directory written: 108.18 secs
Compressed 24 files, 963,236,595 => 0 bytes. Ratio 0.0%                    
Compression time: cpu 175.58 secs, real 108.18 secs. Speed 8,904 kB/s
Protecting archive with 477 recovery sectors (954 kbytes)...
All OK

FreeArc 0.67 (August 12 2010) Creating archive: 
..\rep_400m_lz_96m_fb128_mc12.arc using rep:400mb+lzma:96mb:normal:128:mc12
Memory for compression 745mb, decompression 496mb, cache 16mb
Started: 0.00 secs
Found 24 files: 0.00 secs
Sorted 24 files: 0.00 secs
Joined filelists, 24 files: 0.00 secs
Compressing 3 files of 0 bytes: 0.00 secs
  Using storing
  Memory for compression 0b, decompression 0b
  Solid block compression results (0.000 seconds)
    storing: 0 bytes in 0.000 seconds
Compressing 21 files of 963,236,595 bytes: 0.00 secs
  Using rep:400mb+lzma:96mb:normal:128:mc12
  Memory for compression 745mb, decompression 496mb
  Solid block compression results
    rep:400mb: 371,680,836 bytes in 4.290 seconds
    lzma:96mb:normal:128:mc12: 120,860,204 bytes in -1.000 seconds

  Writing directory: 106.88 secs
  Found 4 directory names: 106.90 secs
  Directory written: 106.90 secs
Compressed 24 files, 963,236,595 => 0 bytes. Ratio 0.0%                    
Compression time: cpu 178.39 secs, real 106.91 secs. Speed 9,010 kB/s
Protecting archive with 475 recovery sectors (950 kbytes)...
All OK

FreeArc 0.67 (August 12 2010) Creating archive: 
..\rep_400m_lz_96m_fb128_mc13.arc using rep:400mb+lzma:96mb:normal:128:mc13
Memory for compression 701mb, decompression 496mb, cache 16mb
Started: 0.00 secs
Found 24 files: 0.00 secs
Sorted 24 files: 0.00 secs
Joined filelists, 24 files: 0.00 secs
Compressing 3 files of 0 bytes: 0.02 secs
  Using storing
  Memory for compression 0b, decompression 0b
  Solid block compression results
    storing: 0 bytes in -0.000 seconds
Compressing 21 files of 963,236,595 bytes: 0.02 secs
  Using rep:400mb+lzma:96mb:normal:128:mc13
  Memory for compression 701mb, decompression 496mb
  Solid block compression results
    rep:400mb: 371,680,836 bytes in 4.290 seconds
    lzma:96mb:normal:128:mc13: 124,675,336 bytes in -1.000 seconds

  Writing directory: 106.86 secs
  Found 4 directory names: 106.86 secs
  Directory written: 106.86 secs
Compressed 24 files, 963,236,595 => 0 bytes. Ratio 0.0%                    
Compression time: cpu 179.92 secs, real 106.87 secs. Speed 9,013 kB/s
Protecting archive with 490 recovery sectors (980 kbytes)...
All OK

FreeArc 0.67 (August 12 2010) Creating archive: 
..\rep_400m_lz_96m_fb128_mc14.arc using rep:400mb+lzma:96mb:normal:128:mc14
Memory for compression 705mb, decompression 496mb, cache 16mb
Started: 0.00 secs
Found 24 files: 0.00 secs
Sorted 24 files: 0.01 secs
Joined filelists, 24 files: 0.01 secs
Compressing 3 files of 0 bytes: 0.01 secs
  Using storing
  Memory for compression 0b, decompression 0b
  Solid block compression results
    storing: 0 bytes in -0.000 seconds
Compressing 21 files of 963,236,595 bytes: 0.01 secs
  Using rep:400mb+lzma:96mb:normal:128:mc14
  Memory for compression 705mb, decompression 496mb
  Solid block compression results
    rep:400mb: 371,680,836 bytes in 4.430 seconds
    lzma:96mb:normal:128:mc14: 123,917,826 bytes in -1.000 seconds
----------------------------

При попытке проверки поведения последней 
версии (от 22.05.2012) получил сообщение об 
ошибке:
----------------------------
Сигнатура проблемы:
  Имя события проблемы:   APPCRASH
  Имя приложения:  Arc.exe
  Версия приложения:    0.0.0.0
  Отметка времени приложения:   4fbbf4d1
  Имя модуля с ошибкой:    facompress.dll
  Версия модуля с ошибкой:  0.0.0.0
  Отметка времени модуля с ошибкой: 4ac9e842
  Код исключения:  c0000094
  Смещение исключения:    0002df57
  Версия ОС:    6.1.7600.2.0.0.256.48
  Код языка:    1049
  Дополнительные сведения 1:  0a9e
  Дополнительные сведения 2:  0a9e372d3b4ad19135b953a78882e789
  Дополнительные сведения 3:  0a9e
  Дополнительные сведения 4:  0a9e372d3b4ad19135b953a78882e789

Ознакомьтесь с заявлением о 
конфиденциальности в Интернете:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0419

Если заявление о конфиденциальности в 
Интернете недоступно, ознакомьтесь с его 
локальным вариантом:
  C:\Windows\system32\ru-RU\erofflps.txt
----------------------------

Памяти было заявлено к использованию 
меньше, но при этом тенденция к ее 
использованию сохранилась: 673, 681, 637, 641.

----------------------------
FreeArc 0.67 (May 22 2012) Creating archive: 
..\rep_400m_lz_96m_fb128_mc11_0522.arc using rep:400mb+lzma:96mb:normal:128:mc11
Memory for compression 673mb, decompression 496mb, cache 16mb
Started: 0.05 secs
Found 24 files: 0.06 secs
Sorted 24 files: 0.06 secs
Joined filelists, 24 files: 0.06 secs
Compressing 3 files of 0 bytes: 0.06 secs
  Using storing
  Memory for compression 0b, decompression 0b
  Solid block compression results (0.000 seconds)
    storing: 0 bytes in -0.000 seconds
Compressing 21 files of 963,236,595 bytes: 0.06 secs
  Using rep:400mb+lzma:96mb:normal:128:mc11
  Memory for compression 673mb, decompression 496mb

FreeArc 0.67 (May 22 2012) Creating archive: 
..\rep_400m_lz_96m_fb128_mc12_0522.arc using rep:400mb+lzma:96mb:normal:128:mc12
Memory for compression 681mb, decompression 496mb, cache 16mb
Started: 0.00 secs
Found 24 files: 0.00 secs
Sorted 24 files: 0.00 secs
Joined filelists, 24 files: 0.00 secs
Compressing 3 files of 0 bytes: 0.05 secs
  Using storing
  Memory for compression 0b, decompression 0b
  Solid block compression results (0.000 seconds)
    storing: 0 bytes in 0.000 seconds
Compressing 21 files of 963,236,595 bytes: 0.05 secs
  Using rep:400mb+lzma:96mb:normal:128:mc12
  Memory for compression 681mb, decompression 496mb

FreeArc 0.67 (May 22 2012) Creating archive: 
..\rep_400m_lz_96m_fb128_mc13_0522.arc using rep:400mb+lzma:96mb:normal:128:mc13
Memory for compression 637mb, decompression 496mb, cache 16mb
Started: 0.00 secs
Found 24 files: 0.00 secs
Sorted 24 files: 0.00 secs
Joined filelists, 24 files: 0.00 secs
Compressing 3 files of 0 bytes: 0.04 secs
  Using storing
  Memory for compression 0b, decompression 0b
  Solid block compression results (0.000 seconds)
    storing: 0 bytes in -0.000 seconds
Compressing 21 files of 963,236,595 bytes: 0.05 secs
  Using rep:400mb+lzma:96mb:normal:128:mc13
  Memory for compression 637mb, decompression 496mb

FreeArc 0.67 (May 22 2012) Creating archive: 
..\rep_400m_lz_96m_fb128_mc14_0522.arc using rep:400mb+lzma:96mb:normal:128:mc14
Memory for compression 641mb, decompression 496mb, cache 16mb
Started: 0.00 secs
Found 24 files: 0.00 secs
Sorted 24 files: 0.00 secs
Joined filelists, 24 files: 0.00 secs
Compressing 3 files of 0 bytes: 0.03 secs
  Using storing
  Memory for compression 0b, decompression 0b
  Solid block compression results (0.000 seconds)
    storing: 0 bytes in 0.000 seconds
Compressing 21 files of 963,236,595 bytes: 0.03 secs
  Using rep:400mb+lzma:96mb:normal:128:mc14
  Memory for compression 641mb, decompression 496mb
----------------------------

Нужна ли какая-то дополнительная 
информация?

Original issue reported on code.google.com by tik...@gmail.com on 27 Jul 2012 at 7:57

GoogleCodeExporter commented 9 years ago
>При повышении mc до 12 наблюдается 
закономерный рост объема используемой 
памяти и уменьшение размера архива. При 13 - 
объем памяти вдруг резко падает, и при этом 
размер архива получается больше.

для mc13 памяти уже не хватало и поэтому она 
была усечена вдвое. напомню, что mc - это 
количество элементов в одной строке 
таблицы поиска, а число строк должно быть 
степенью двойки

>При попытке проверки поведения последней 
версии (от 22.05.2012) получил сообщение об 
ошибке:

нужна комстрока и конкретные данные, на 
которых был сбой. пиши на bulat.ziganshin@gmail.com

Original comment by bulat.zi...@gmail.com on 27 Jul 2012 at 10:27