view · edit · sidebar · attach · print · history

20130117-oddb2xml-windows-support-update-progress-bar

<< | Index | >>


Summary

  • Debug oddb2xml on Windows
  • Debug search response

Commits

Index


debug-oddb2xml-on-windows

  • Ruby on Windows cannot IO#close correctly.
  • Ruby on Windows cannot clear large String Object by GC.
  • Windows cannot unlink File without closing.
  • Windows cannot read over 400MB File into Memory.

NOTE

rubyzip

    # File lib/zip/zip.rb, line 1431
    def ZipFile.foreach(aZipFileName, &block)
      ZipFile.open(aZipFileName) {
        |zipFile|
        zipFile.each(&block)
      }
    end

Ref.

tried

  • Single thread.
  • using Tempfile.
  • manualy Closing of IO.
  • manualy unset unused variables.
  • reading with File#gets, File#read(1024)
commit

Debug oddb.org search response

Company search is very slow. Sometimes, Browser cannot wait response of ODBA.


oddb2xml dat output

Ref.

view · edit · sidebar · attach · print · history
Page last modified on January 17, 2013, at 08:51 AM