Skip to content

Fix slow or missing large files

Use this guide when large files make Sync slow, a download fails, or an engineering application opens a small text file instead of the project.

  1. Confirm the project and branch in the top bar.
  2. Open Repository Settings → Large Files (LFS).
  3. If Git LFS Not Installed appears, restore the bundled tools.
  4. If Enable Large File Support appears, review the file patterns and select Enable LFS when your team uses LFS.
  5. If support is enabled, check Tracked File Patterns for the affected file type.

A new tracking pattern affects future additions and saves. Adding a pattern does not convert every older revision to LFS. Save and review changes to .gitattributes before sharing them with your team.

Some download and cleanup settings are marked as future scope and disabled. Use the commands below when you need to inspect or download large files now.

Replace the example project path. This block uses the installer tools and updates PATH only in the current PowerShell session:

Terminal window
$repo = 'C:\Projects\PumpStation'
$tools = Join-Path $env:LOCALAPPDATA 'IOFabrik\tools\bin'
$git = Join-Path $tools 'git\cmd\git.exe'
$lfs = Join-Path $tools 'lfs\git-lfs.exe'
$env:PATH = (Split-Path $git) + ';' + (Split-Path $lfs) + ';' + $env:PATH
& $git -C $repo lfs version
& $git -C $repo lfs status
& $git -C $repo lfs ls-files
& $git -C $repo check-attr filter -- 'PumpStation.ACD'

Replace PumpStation.ACD in the last line with the affected path relative to the project folder.

Expect a git-lfs/ version and a list of LFS-managed files. filter: lfs means the current attributes select LFS for that path. filter: unspecified means they do not.

LFS patterns are case-sensitive. Confirm the actual extension, such as .ACD, when checking a pattern. A file whose contents start with version https://git-lfs.github.com/spec/v1 is an LFS pointer, not the engineering project contents.

Back up the project before replacing working files. Close IOFabrik and the engineering editor after their active work finishes.

Run this block to download LFS objects and populate files for the current branch:

Terminal window
$repo = 'C:\Projects\PumpStation'
$tools = Join-Path $env:LOCALAPPDATA 'IOFabrik\tools\bin'
$git = Join-Path $tools 'git\cmd\git.exe'
$lfs = Join-Path $tools 'lfs\git-lfs.exe'
$env:PATH = (Split-Path $git) + ';' + (Split-Path $lfs) + ';' + $env:PATH
& $git -C $repo lfs pull
if ($LASTEXITCODE -ne 0) { throw 'The LFS download failed. Keep the error and check remote access.' }
& $git -C $repo lfs ls-files
& $git -C $repo status --short --branch

Expect the download to finish without an error. In lfs ls-files, * marks a full object in the working folder and - marks a pointer. A protected local modification can remain unchanged by LFS. Inspect the affected file before opening it.

If the download reports authentication or permission errors, restore GitHub access. If the remote reports a missing LFS object or a storage quota problem, ask the repository administrator to restore the object or capacity.

Reopen IOFabrik and the affected engineering project. Confirm that the file opens with its expected contents. Retry Sync once when the required files are available.

If transfers remain slow, note the file sizes, available disk space, network connection, and the failing transfer message. Collect debug logs for one attempt. Avoid rewriting shared history or pruning LFS objects as a first response to a slow download.