Implem for bounded line reading during DB installation
Better fix for outofmemoryexception