Skip to main content
Participant
Sep 23, 2024 8:33 PM UTC
Needs More Info

Javascript SDK - crash bug on large file load

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 is closed to new replies. Start a new post to keep the conversation going.

4 replies

djacobs77Author
Participant
Sep 23, 2024 10:27 PM UTC

Email sent.  Thanks for taking a look!

Translate
Kevin J. Monahan Jr.
Legend
Sep 23, 2024 10:04 PM UTC

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

Translate
Kevin Monahan - Sr. Community and Engagement Strategist – Adobe Pro Video and Audio
djacobs77Author
Participant
Sep 23, 2024 9:45 PM UTC

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

Translate
Bruce Bullis
Legend
Sep 23, 2024 8:43 PM UTC

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?

Translate