Skip to main content
Participant
September 23, 2024

Javascript SDK - crash bug on large file load

  • September 23, 2024
  • 4 replies
  • 299 views

I am trying to build a plugin with the PremierePro javascript SDK. 

I want to build a plugin that lets you upload a file.   I am reading my file with the code below.  However, the the code seems to crash on big files.  I am currently trying on a 700mb file.  Have you had any luck or related issues in the past?

Thanks!


code:

const fileContent = cep.fs.readFile(filePath, cep.encoding.Base64);


This is the error I see:





This topic has been closed for replies.

4 replies

djacobs77Author
Participant
September 23, 2024

Email sent.  Thanks for taking a look!

Kevin-Monahan
Community Manager
Community Manager
September 23, 2024

The status of this bug report is updated. A team member has asked for more information.

Kevin Monahan - Sr. Community and Engagement Strategist – Adobe Pro Video and Audio
djacobs77Author
Participant
September 23, 2024

Thanks. I tried 'let' and I got the same result. I got an error report with sentry-id: a2d79261-6de6-4af2-8ce2-45ce343a9632.  It's a binary file that I can't open, and I don't think I can attach here. I'll send it an email if that's ok

Bruce Bullis
Community Manager
Community Manager
September 23, 2024

It'd be useful to see the actual report (visible if you click "View Report" in that dialog)...?

 

Also...any difference in behavior, if you don't declare fileContent as const?