Uploaded image for project: 'UGENE'
  1. UGENE
  2. UGENE-613

Improve estimation of memory usage when opening gzipped file

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.7
    • Fix Version/s: 1.9.8
    • Component/s: None
    • Labels:
      None

      Description

      When opening gzipped file (local or by http), the memory usage (uncompressed size) is estimated very roughly: in LoadDocumentTask::prepare() there is hard-coded memUseMB *= 2.5. But if the file is local, we should use last 4 bytes of it to determine real uncompressed size (ISIZE field of gzip format). Even if it is not possible, the compression level may be estimated using some part of the begining of the file.

        Attachments

          Activity

            People

            Assignee:
            ggrekhov German Grekhov
            Reporter:
            inovikov Ivan Novikov
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: