128gig sd card not big enough for 2.5 gig image?

have a 2.5 gig image made for a 128 gig sdcard when it gets like 8 mins in it tells me there is not enough space. Any ideas i def have enough space even when i try flashing the file for a 64 gig sdcard which im told should work on my 128gig it still says i dont have enough space. These are the logs

Decompressing , undefined% at 203.30 MB/s (total 0.00 MB/s) with 0 failed devices
C:\Users\Grant\AppDa…ash\lodash.js:10333 Decompressing , undefined% at 202.70 MB/s (total 0.00 MB/s) with 0 failed devices
C:\Users\Grant\AppDa…ash\lodash.js:10333 Decompressing , undefined% at 205.10 MB/s (total 0.00 MB/s) with 0 failed devices
C:\Users\Grant\AppDa…js\dist\raven.js:58 Error: ENOSPC: no space left on device, write
C:\Users\Grant\AppDa…js\dist\raven.js:58 Mon May 18 2020 15:41:31 GMT-0700 (Pacific Daylight Time) Write failed ({“image”:“C:\Users\Grant\Desktop\android switch\android-128gb.img.gz”,“drives”:[{“size”:127865454592,“isVirtual”:false,“enumerator”:“USBSTOR”,“logicalBlockSize”:512,“raw”:"\\.\PhysicalDrive5",“error”:null,“isReadOnly”:false,“displayName”:“I:\”,“blockSize”:512,“isSCSI”:false,“isRemovable”:true,“device”:"\\.\PhysicalDrive5",“busVersion”:“2.0”,“isSystem”:false,“busType”:“USB”,“isCard”:false,“isUSB”:true,“devicePath”:null,“mountpoints”:[{“path”:“I:\”}],“description”:“Lexar MSD USB_3_0 Read USB Device”,“isUAS”:false}],“driveCount”:1,“uuid”:“90de22b4-3668-4f3f-8722-901698d2c258”,“status”:“failed”,“flashInstanceUuid”:“90de22b4-3668-4f3f-8722-901698d2c258”,“unmountOnSuccess”:true,“validateWriteOnSuccess”:true,“error”:{“name”:“Error”,“code”:“ENOSPC”,“syscall”:“write”,“errno”:-4055},“sample”:0.1,“applicationSessionUuid”:“fbf6653d-e6f8-45ae-80d8-8911a1f55f98”,“flashingWorkflowUuid”:“e7d93059-4063-49c3-9f78-2889e8cf84da”})

Hi,

Can you tell us if the SD card has any partitions on it already or if it’s a raw device? You might check by using the Windows Disk tool to confirm that there aren’t partitions that are limiting the amount of write space.

John