Invalid memory alloc error when trying to modify large audio sample

I’ve uploaded a large audio sample (around 7 minute long wav file). When attempting to edit the label or even delete the file, I get the error:

“Failed to delete item Error: invalid memory alloc request size 1073741824”

Has anyone else had this issue? Is there a way to delete the file without the UI?

Hi @oveddan, what’s your project ID? 1073741824 is exactly 1024 * 1024 * 1024 which sounds suspicious to me, so I’m wondering if we parse the audio file wrong somehow and allocate one GB of data!

(Or could you just send the audio file to me at jan@edgeimpulse.com, that’d work too).

I deleted the project because I couldn’t even delete the file using the api.
The project id was 153 and sample id was 53343

Thanks, managed to retrieve the file from cold storage and can replicate the bug. Will push a fix tomorrow!

@oveddan This has now been deployed!