Hello, Micke Micke wrote: > > I have tried the example above, unfortunately i get same result as > before. The script eats allot of memory, and it will not receive all the > msi-package information. > > As i mention before, if I divide the msi-package-list in to, run the > script to time, it works. > > I have tried with the latest version of ruby, but it fails, this time it > fails with more packages compare to 1.8 release of ruby. > I also tried to cut up the list in two arrays, and execute the > msi-method two times, but i get same problem as above. > How about calling GC.start in GetProperty method? def GetProperty(msiPath, property) GC.start # <- add this line begin msiInstaller = Installer.create Regards, Masaki Suketa