ID 535533 - Unzipping a large sbpz file can run out of memory

Follow

Problem summary
Unzipping a large sbpz file can run out of memory

Customer reported version
flix_6.5.0

Customer reported platform
windows10

Steps to reproduce

1) Create a large sbpz file
2) Import it to Flix 

Expected behaviour
The sbpz file should import successfully into Flix

Actual behaviour
The import fails during the unzipping of the sbpz file with the following error

[2023-02-22 09:34:31.455] [error] SbpImportService: Unable to unzip sbpz file: Error: spawnSync C:\Windows\system32\cmd.exe ENOBUFS

[2023-02-22 09:34:31.473] [error] {

type: 'Buffer',

data: [

13, 10, 55, 45, 90, 105, 112, 32, 57, 46, 50, 48,

32, 32, 67, 111, 112, 121, 114, 105, 103, 104, 116, 32,

40, 99, 41, 32, 49, 57, 57, 57, 45, 50, 48, 49,

48, 32, 73, 103, 111, 114, 32, 80, 97, 118, 108, 111,

118, 32, 32, 50, 48, 49, 48, 45, 49, 49, 45, 49,

56, 13, 10, 13, 10, 80, 114, 111, 99, 101, 115, 115,

105, 110, 103, 32, 97, 114, 99, 104, 105, 118, 101, 58,

32, 80, 58, 92, 104, 111, 109, 101, 92, 107, 101, 118,

105, 110, 112, 97,

… 1049267 more items

]

}

Workaround
Open the sbpz file in SBP and save it as a sboard file. Import the sboard file into Flix.

 

    We're sorry to hear that

    Please tell us why