adamrehn/ue4-docker

Windows Building 5.1.1 requires more the 400GB volume size

isqrd opened this issue · 1 comments

isqrd commented

To successfully compleat a build of 5.1.1 on windows server 2022 I had to increase the storage-opts.size to a minium 600GB. I think the final size docker used was 551GB.

I think it might be nice to change the recommend configuration here from 400GB to at least 600GB, or maybe even 800GB? I'm happy to make PR, but not sure what a reasonable size here should be. If this is common problem, or if something in my specific setup as making it larger than needed:

Here was my build command:


ue4-docker.exe build 5.1.1 `                                                                                                                                                                                                                                   
        -basetag ltsc2022 `                                                                                                                                                                                                                                    
        -username $github_user `                                                                                                                                                                                                                               
        -password $github_pat `                                                                                                                                                                                                                                
        --visual-studio 2019 `                                                                                                                                                                                                                                 
        --exclude debug `                                                                                                                                                                                                                                      
        --target minimal `                                                                                                                                                                                                                                     
        -isolation=process `                                                                                                                                                                                                                                   
        -m 96g                                                                                                                                                                                                                                                 
        --opt credential_mode="endpoint"    
PS C:\Users\admin> ue4-docker.exe info
ue4-docker version:         0.0.103 (latest available version is 0.0.106)
Operating system:           Windows Server 2022 Datacenter (Build 20348.1547)
Docker daemon version:      23.0.1
NVIDIA Docker supported:    No
Maximum image size:         1200GB
Available disk space:       1.38 TiB
Total system memory:        126.54 GiB physical, 32 GiB virtual
CPU:                        8 physical, 16 logical (Intel64 Family 6 Model 85 Stepping 7, GenuineIntel)

PS C:\Users\admin> docker info
Client:
 Context:    default
 Debug Mode: false

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 104
 Server Version: 23.0.1
 Storage Driver: windowsfilter
  Windows:
 Logging Driver: json-file
 Plugins:
  Volume: local
  Network: ics internal l2bridge l2tunnel nat null overlay private transparent
  Log: awslogs etwlogs fluentd gcplogs gelf json-file local logentries splunk syslog
 Swarm: inactive
 Default Isolation: process
 Kernel Version: 10.0 20348 (20348.1.amd64fre.fe_release.210507-1500)
 Operating System: Microsoft Windows Server Version 21H2 (OS Build 20348.1547)
 OSType: windows
 Architecture: x86_64
 CPUs: 16
 Total Memory: 126.5GiB
 Name: EC2AMAZ-2ECLSV1
 ID: QUA5:W5BF:3332:N477:EISD:MOHE:S5HR:L77Q:GDUA:WOIV:WDVO:NJXO
 Docker Root Dir: E:\WVS\docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Product License: Community Engine

800GB sounds reasonable, that's what I also have for 5.1.1. Note that I do not do --exclude debug and it still fits.