Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Animate CC out of memory?

New Here ,
Jan 27, 2017 Jan 27, 2017

Hello everyone,

I looked to see if this error had been solved and I didn't find that it had. I've read that there are several files that show this error.

While executing main.jsfl the following Javascirpt error occurred.

At line 71 of the file Publish.jsfl

out of memory.

I have a fairly large project that encompasses 3000 frames and I have a bit of animations, nothing fancy like a motion preset.

My project is an interactive kiosk.

The total file size of the project is 53MB.

*I'm using the latest version of Animate.

Is this because I am using motion tweens as opposed to classic?

Can anyone tell me what this means? What can I do to fix it?

3.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 28, 2017 Jan 28, 2017

first, make sure you're using the latest version of animate:

Screenshot - 1_28_2017 , 6_58_55 AM.png

next, try increasing the js memory by editing your jvm.ini file (which will probably fail).  but quit and restart animate after editing and then test.

next, edit your jsfl to do whatever you're doing to chunks of say 1000 frames.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 28, 2017 Jan 28, 2017

Hi Kglad,

First of all thank you for responding! It's really nice to know there's quick help.

First time forum user, was using the chat before. I've scoured the forums on this subject but all remain unanswered.

I've been working with Animate for about three months. With that being said, I'm not too familiar with what you're suggesting. I do have the latest version of Animate, I updated it two weeks ago.

All I know about animate is that it produces a .js file and an image sprite sheet that houses all the images.

Prior to this I've never heard about a jvm.ini file, don't know where to find it and Google research hasn't given me the answer.

How do I edit it after I find it?

Is there an Adobe website with instructions?

The chat was so good because the tech could log onto my comp and show me what to do.

When you say edit your jsfl file, we're talking about the js file that animate creates for the project right?

All my pages in the project contain 100-300 frames only.

I'm happy to send my project if needed, it's 55 MB but I was able to send it before.

Thank you so much for the help, I was cruising along until this happened. I bet many other users will benefit from this knowledge also.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 28, 2017 Jan 28, 2017

what's your os?

are you running an jsfl file or just trying to publish your project?  if you're trying to publish, is it an as3 project?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 28, 2017 Jan 28, 2017

Windows 10.

Its an html canvas file.

So it's producing one js file as far as I know.

The error happens yes when I try to publish the file.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 28, 2017 Jan 28, 2017

a few years ago an older version of animate (called flash pro back then) there was a similar error in another jsfl file.  but that was temporarily fixed here, How to avoid ‘out of memory’ javascript error on publishing HTML5 Canvas doc in Flash Pro CC | Heman... and then permanently fixed with later versions of animate.

i would report that as a bug, Feature Request/Bug Report Form

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 28, 2017 Jan 28, 2017

Thank you for your reply, and for the link.

So if I have the latest version of Animate, and it's supposedly permanently fixed, this is a bug to the fix?

I'll try the info in the link you sent and will let you know.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 28, 2017 Jan 28, 2017

you've encountered a new bug.  it seems related to the older bug mentioned at hemanth kumar's site.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 28, 2017 Jan 28, 2017

So looks like we're saying this is an un-resolved error? That remedy is old and the links are dead.

There must be some way to create semi-large projects without having this error?

I've read about breaking up projects like in this in that link you sent.

Hemanth Kumar R says: 

"Publishing has been optimised in the latest Flash CC update.If you are still getting out of memory I suggest you break up your project if possible into smaller chunks and combine them later."

When we say "break up your project if possible into smaller chunks and combine them later."

How do I combine them later?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 28, 2017 Jan 28, 2017
LATEST

I submitted a bug report and told them what was happening.

Yeah looks like it. I have the file if anyone wants to look at it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines