Issue Report
Initial plotting failed with error “memory allocation of bytes failed”.
Node-1
PS C:\Subspace> .\subspace-farmer-windows-x86_64-skylake-gemini-3h-2024-may-01.exe farm --record-encoding-concurrency 3 path=D:\Subspace\farms_99,size=1000GB
2024-05-01T21:25:45.224455Z INFO subspace_farmer::commands::farm: Preparing plotting thread pools plotting_thread_pool_core_indices=[CpuCoreSet { cores: CpuSet(0-23), … }] replotting_thread_pool_core_indices=[CpuCoreSet { cores: CpuSet(0-11), … }]
…
2024-05-02T05:55:49.005445Z INFO {farm_index=0}: subspace_farmer::single_disk_farm::plotting: Plotting sector (64.21% complete) sector_index=601
memory allocation of memory allocation of 10486721048672memory allocation of bytes failed
bytes failed
Node-2
PS C:\Subspace> .\subspace-farmer-windows-x86_64-skylake-gemini-3h-2024-may-01.exe farm --reward-address --record-encoding-concurrency 4 path=H:\Subspace\farms_20,size=1000GB
2024-05-01T21:18:40.382750Z INFO subspace_farmer::commands::farm: Preparing plotting thread pools plotting_thread_pool_core_indices=[CpuCoreSet { cores: CpuSet(0-23), … }] replotting_thread_pool_core_indices=[CpuCoreSet { cores: CpuSet(0-11), … }]
2024-05-02T02:28:12.701999Z INFO {farm_index=0}: subspace_farmer::single_disk_farm::plotting: Plotting sector (4.27% complete) sector_index=40
2024-05-02T02:30:30.979817Z INFO {farm_index=0}: subspace_farmer::single_disk_farm::plotting: Plotting sector (4.38% complete) sector_index=41
memory allocation of memory allocation of memory allocation of memory allocation of memory allocation of
thread ’
thread '10487121048712104871210487121048712tokio-runtime-workertokio-runtime-worker bytes failed
bytes failed
PS C:\Subspace> .\subspace-farmer-windows-x86_64-skylake-gemini-3h-2024-may-01.exe farm path=H:\Subspace\farms_20,size=1000GB
2024-05-02T15:09:14.476366Z INFO subspace_farmer::commands::farm: Preparing plotting thread pools plotting_thread_pool_core_indices=[CpuCoreSet { cores: CpuSet(0-23), … }] replotting_thread_pool_core_indices=[CpuCoreSet { cores: CpuSet(0-11), … }]
2024-05-02T16:40:04.524814Z INFO {farm_index=0}: subspace_farmer::single_disk_farm::plotting: Plotting sector (5.77% complete) sector_index=54
memory allocation of 1048672 bytes failed
Environment
subspace-farmer-windows-x86_64-skylake-gemini-3h-2024-may-01.exe
Node-1
I7-13700/32GB/8TB SSD/WIN11 23H2
Node-2
I7-13700F/32GB/16TB SSD/WIN11 23H2
Node-3
Threadripper 2950X/128GB/32TB SSD/WIN11 23H2
Problem
Memory allocation failed during initial plotting on servers on Node-1 and Node-2.
Node-3 works fine.
Looks like a memory leak. When stoped plotting on Node-3 total memory consumpion drops from 59GB to 14GB.