Skip navigation
SnubbyLand
Currently Being Moderated

Extending Memory Limits in Flash?

Mar 29, 2010 4:00 PM

the story - I'm been working on a large-scale Flash game for the past 13 months, and a few months ago I was encountering an error message when trying to export saying, "Error creating Flash movie. There was not enough memory available." Here is a screenshot <http://www.snubbyland.com/uploads/220.jpg> This isn't due to large videos or photos in the file, it's because theres a huge amount of frame by frame animation, so I can't just reduce quality.

 

I was off of a crappy laptop so at first I just bought a new computer with tons of ram because I didn't realize the software was an issue. This did not change anything (though I can run flash with less lag).

 

Then, I decided to do as much optimizing as I could. After a few months, all opimization possible as been done, and I have reached the point where I get the error again.

 

Then, I decided to cut the main file up into smaller pieces and link them together. This worked, but now some individual pieces require too much memory and get the error.

 

Then, I researched paging files and tried creating one. This had no success and actually made things worse.

 

 

THE QUESION - How can I make Flash allow me to use more memory, or is there a specific way a paging file or something like that could be created that would help. Anything that would help with this problem. If you are able to actually help, I can paypal you 100 bucks. However, I'm worried there is no solution...

 

 

Thank you,

Stevie Critoph

(snubbyland.com)

 
Replies
  • Currently Being Moderated
    Mar 29, 2010 6:36 PM   in reply to SnubbyLand

    I found this thread: http://board.flashkit.com/board/showthread.php?t=520705. It says that it had nothing to do with the file size, it had something to do with a corrupted image that caused an infinite loop in export thus ran out of memory. Since you've got a lot of animation, you too might have some corrupt images.

     

    How long did the export take? Was it like a long hang before it notified you that it ran out of memory? I tried importing an image into flash library, then i edited the image in a text editor to make it corrupt. Then i went to update the image in the library, and it hanged with 100% CPU usage, probably an infinite loop which may have led to the out of memory problem.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 29, 2010 9:37 PM   in reply to SnubbyLand

    Is it impossible to cut it more into pieces or it's just too complicated already? Hmm vector graphics.. I don't think they can get corrupted.. Is it possible you create something that can reproduce that problem and upload somewhere so we can see it? It's difficult to figure a solution if there's nothing to look at. I have no idea about any of those memory limits in flash... maybe an Adobe employee would know but they rarely post replies.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points