Flash Pro CS6 - not enough JVM memory - change 128 to 256, flash doesn't start.

Hi,
working on very large projects, I often get the "flash ran out of memory for the jvm" error.
Restarting flash does the trick for another couple of hours, until I get that error again.
It opens the jvm.ini file to let me increase Xmx memory value.
I change it from -Xmx128m to -Xmx256m
I restart flash, get the error: "Error initializing Java Runtime environment. You may need to reinstall Flash"
I change it back to -Xmx128m, and flash starts again.
But obviously, I again get the "not enough memory" error.
Am I doing something wrong?
Also,
after installing Flash Pro CS6, previously installed Flash Pro CS5.5 does not start, gives me the JVM initialization error all the time, regardless of which Xmx value I put for CS5.5

back to square one again. The error message just popped up. So annoying.
update:
I removed some of the images I embed using the '[Embed tag'. And now it publishes again without the error. Weird because the published swf is only 1.8MB. Nothing crazy. So the problem seems related to embedding images using the [Embed tag...
update 2 / FIX:
Instead of using the embed tag to embed images I now have an 'assets' folder that I add to the AIR project (publish settings) that contains my images. Then I load the various images using the Loader. After an image is loaded I convert it to a Texture to use in Starling like so:
var bitmap:Bitmap = new Bitmap(new BitmapData(currentBigTextureLoader.width, currentBigTextureLoader.height, true, 0x00000000));
bitmap.bitmapData.draw(currentBigTextureLoader);
bigTextures[aBigTexturesToLoad[nCurrentBigTextureToLoad]] = Texture.fromBitmap(bitmap);
You can then use these Textures to display an image in Starling like so:
var base:Image = new Image(bigTextures["CollectionBase"]);
Bit of a workaround but al least I don't get the Java Error anymore

Similar Messages

  • BUG - saving with both flash pro CS6 and CC causes library symbol names to change

    Concise problem statement:
    If you save with flash pro CC and then save with CS6, in the library panel, symbol names are changed.
    Specifically, pipes | and trailing spaces ("|Divider", "Divider ") get replaced by escape sequences ("&#124Divider", "Divider&#032" ...) Ampersands & and number signs # also get replaced, such that symbol names grow exponentially if you continue to save with both flash pro CC and CS6 ("Divider&#032", "Divider&#038&#035032", "Divider&#038&#035038&#038&#035035032" ...) This makes it difficult to transition a team from CS6 to CC.
    Sometimes, the original-name symbol remains, and an escaped-name symbol is also created. In this case, the children are removed from the original-name symbol, so it doesn't render anything to the screen; a mysterious, silent failure.
    Steps to reproduce bug:
    1. Create a library symbol named "|", save an xfl with flash pro CC, and close.
    2. Open, save, and close with flash pro CS6.
    3. Open, save, and close with flash pro CC.
    Results:
    A library symbol named "&#124".
    Expected results:
    A library symbol named "|".
    I submitted this bug with the bug form, and also with adobe bugbase (in case it isn't obsolete) - I'm just trying to maximize my chances of getting a fix.  Has anyone else encountered this bug?

    Hi,
    We are aware of this issue and its open for investigation internally. This issue is observed when you have certain special characters in your symbol names and try to open that file in Flash CS6. This happens due to a change in the way symbol naming is handled in Flash CC and in Flash CS 6.
    As a workaround, request you to use only Underscore or Hyphen as special characters while naming symbols or library layers etc.
    We shall update you as soon as this has been fixed.
    Thanks,
    Nipun

  • Safari hangs: not enough program memory, while 90G HD and 4G ram, OS re-installed, removed files etc. (mac book pro, leopard)

    Safari hangs direct after starting up. Rainbow bol rotates around one hour after which a message is shown: "not enough program memory"
    More than 90G free on HD, even removed more files and installed OS and programs again. Nothing helps.
    Help

    SIG, thanks for your reaction. After reading my question again I understand it was not clear.
    The reason I mentioned the 90G free HD space was the information I found on internet about my problem in which it was assumed there was not enough RAM memory and the processor uses the HD for SWAP files?
    In any way my problem is still there and I like to add some information:
    MACBookPro OSX 10.6.7, 2.4 GHz duo, 4GB DDR3 RAM, L2 cache 3MB, 250 GB HD (90 GB free).
    What I have done untill now:
    Re-install OSX plus programs
    Reboot in safe mode (cold start with shift C pressed)
    A number of reports generated after a forced Safari stop were send to Apple. (by the way what are they doing with these? besides not helping me?).
    Just today I learned where to find the Safari cache file's which I will empty when I am back from work tonight.
    I hope, with this additional information you have some more suggestions. In any way I will come back with the result of emptying the Safari cache.

  • Flash Pro CS6 to HTML5 Conversion

    I purchased Flash Pro CS6 yesterday and it does not convert my Flash file to HTML5 Correctly.  It converts everything except the Action Script.  I have contacted Tech Support and they have escalted the issue, but they are telling up to 96 hours.
    The website is www.davidhornbrook.com
    When I try to convert that page (the FLA file) it converts the bottom part, his logo, and the david dropping down the side.
    It does NOT convert the top menu items OR hte drop shadow behind the logo (which is all Action Script3).
    Can someone help me?
    I have the FLA files thast I can send to you / post if that helps.
    BTW when I convert it to SWF it works fine, just not when I export it to HTML5.

    Hello ChadXSO,
    The 'Help' offered to you so far has been, as far as I can tell, no help at all.
    I've been ploughing through an old .fla trying to make a conversion.
    Nothing complex, no animations.
    6 hours later, I've part of it running, not working, just not crashing.
    It's all script, so if CreateJS doesn't convert Action Script it's producing a very good pretense of doing so. The converter does appear to be looking at the AS, since if I change the AS the output changes.
    However, I have to edit the js, every time I publish, to prevent the HTML from looping. From time to time it throws a Line 77 error, claiming that there is an undefined .str in a non-existant .jsfl file (non-existant in that Windows can't find the file).
    I produce technical anims for my students in Flash so I'm none too pleased for the option for them to view them on-line to be taken away.
    Unless Adobe produces a working conversion tool 10 years of my work is going down the toilet. There will be thousands(?) of .swf creators in the same position.
    If CreateJS is the best Adobe can manage, at this rate, I won't live long enough to convert a single .fla.

  • Flash Pro CS6 crashes when creating symbol

    Okay...here's one I gotta share. I'm building some banner ads for a client. I open up Flash Pro CS6. I create a square on the stage. And when I right-mouse click on the drawing, choose Create Symbol...Flash completely locks up. I get that little Windows 7 'tink' in my speakers..and nothing. I cannot create a symbol of any kind. The program completely locks up.
    So...I uninstall the entire CS6 suite...reinstall with latest installers...and same result.
    BUT....if I put a graphic on the stage...go to the timeline...and try to apply a motion tween..flash alerts me that it needs to be a symbol and converts it to a movie clip for me...no errors.
    I'm on Windows 7, 64 bit, 16 G ram. So that ain't the problem. I tried in vane to get somebody on the phone at adobe....I knew that would be a waste of time.
    I've been using adobe software forever. And though it is frequently error and crash prone I can usually count on an uninstall squaring things away. Not this time. And I have no cause and effect to point to. I was using Flash a couple of weeks ago no problem...and now...unusable.
    If there's anyone out there reading this post...I'd really be interested in a solution.

    The only thing that could´ve changed are the settings on my mac...
    Sounds like this might be your trouble?
    I run a pc... no help to you.
    Optimizing for performance: Adobe Premiere Pro and After Effects
    http://blogs.adobe.com/aftereffects/2011/02/optimizing-for-performance-adobe-premiere-pro- and-after-effects.html

  • Compiling Issue in Flash Pro CS6

    Hi,
    When I try to test my project (CTRL + Enter), it displays a blank window if publication target is superior or equal to 10.3, in Flash Pro CS6, either AS2 or AS3. Even if it's a new empty project with just a background color set and a trace("ok"); on the first frame, it does strictly nothing. White and no message in the debug console.
    If I change the target to 9, it works, although the scene color is still not displayed.
    In both cases, when I open the generated swf file directly from my explorer (Windows 7), it works, although the scene color is not displayed.
    Worked perfectly until now, can't remember of a recent update but maybe the last one did that.
    Does anyone know how to fix that ?
    Thank you !

    Hey,
    I've solved my problem installing the Flash Pro CC trial version.
    I wanted to test if it worked under CC, but it seems to have solved the problem in Flash CS6 too. Everything is back to normal.
    I guess we can say this is a solved issue, even if I don't know why. Maybe reinstalling Flash CS6 would have done the trick too. Can't tell.

  • How to install latest AIR SDK (13 or 14) in Flash Pro CS6?

    Hi, I'm using Adobe Flash Pro CS6 on Windows 7 64-bit and I wanted to add latest Adobe AIR SDK, either 13 or 14, but non of them is seen as a valid SDK by Flash.
    I've tried downloading two possible SDKs (SDK & compiler and SDK without compiler) from here: Download Adobe AIR SDK (version 13) and here http://labs.adobe.com/downloads/air.html (version 14). Each time I copied the extracted SDK folder to my Flash CS6 folder where default 3.2 and 3.4 SDKs are located. After that I open Flash, then Help > Manage Air SDK, click on " + ", browse for the new folder, and all I get is "The selected folder does not contain a valid AIR SDK" warning message. It all looks the same with all four SDKs I downloaded!
    Not long ago I added AIR 4.0 without any problems. What am I doing wrong? Is new SDK Flash CC only or what?

    What are you naming the folder?
    Just as a general tip, since many applications (Flash CS4, 5, 5.5, 6, CC) you can save some space by only putting the AIR SDK in one place. Since CS6 and CC have "Manage AIR SDK" in their settings you no longer need to locate that folder like 5.5 which requires you to overlay the AIR 2.6 folder. So save some space and put it anywhere out of the way, out of the Flash folder. I have multiple drives and I have lots of SDKs installed at root on my E:\ (E:\SDK\AIR, E:\SDK\JDK, E:\SDK\Android, etc). I then just go in the help panel like you do and point CS6 and CC to E:\SDK\AIR and they work perfectly fine with the latest SDK released recently.
    Are you updating Flash Player to 13 as well?
    Last, do not download the Flex version for Flash. Flex is for Flash Builder if you intend on using Flex (it is different than Flash).
    Do not get this:
    You want the SDK from the big orange buttons above this warning.

  • Photoshop CS3 "Not enough scratch memory available" error.

    Hi,
    I am Using Adobe Photoshop CS3 Version 10.0 and I keep getting the error "Not enough Scratch memory available to perform this action" whenever I try to Save a .psd file to a .jpg/.jpeg file.
    I did go to Edit -> Preferences -> Performance, and add my other two partitions as scratch disks, also put up my E: drive as the primary scratch disk on the top of the list (Which has 80GB's of space) but I still keep getting this error.
    My file (the .psd that i am trying to save to a .jpg) has a total size of 56MB and 300dpi with 4 or 5 layers in it and the target jpg file is supposed to be 12inches by 20inches.
    Some other things I have tried is celaring the %temp% folder, Defragmenting my Hard Drive(s), Disk Cleanup, set my System Page file to 4GB, but all this is of no use.
    I know that I have enough RAM and Hard disk space so please help me get rid of this problem.
    Also, this maybe a stupid question but, does the type of RAM and Processor you are using effect this? I have a DDR RAM.. 2GB, I know its outdated, its our office computer I am working on.. My Processor is a Core 2 Duo which isnt bad.
    HELP PLEASE!!!

    I think Varun is mistaking one's forums Join Date for a post time stamp.
    I'm moving this post from this forum for photoshop-dot-com (an online portal) to the correct forum for Photoshop pro users like yourselves.
    FYI, the correct forum URL is: http://forums.adobe.com/community/photoshop
    Since you've posted in this forum for Photoshop.com, you may receive additional posts in this forum unless you update your profile.  After signing in on these forums, go to Your Stuff > Forums, and disable any forum you don't want to watch.
    Kind regards,
    Charlie

  • Error installing Flash Pro CS6

    I'm trying to install Flash Pro CS6 but I keep getting the following error (the message is in portuguese) after running the .exe file (downloaded directly from Adobe's oficial website).
    I've tried it in 3 different computers with Windows 8 and in one computer with Windows 7 and all of them give me the same error. I'm using an Admin account so that's not the problem!

    The problem is happening when I try to extract the downloaded files from the .exe to another folder. The application has all the permissions available
    Here is another picture of the initial screen when I double click the .exe file.
    I've tried to extract it to other folders, like "Documents", "Downloads", but It gives me the same error as before.

  • Back button doesn't work in Flash Pro CS6 Simulator (ADL)

    Hi everyone. I'm testing Flash Pro CS6, and I've noticed the Back button is not detected in my Android app when testing in ADL (Control / Test movie / In ADL Mobile).
    When I try to select the option Device / Back (Ctrl+B) in ADL, it just doesn't do anything (I have a KEY_DOWN event listener which looks for the keycode Keyboard.BACK). In a real Android device, it works, but not in the "test movie" window (ADL). In CS5.5, the Back button always worked in ADL.
    Also, in the new Simulator window which comes up when "testing movie", there are "Menu", "Back" and "Search" buttons for easier access. Well, that Back button doesn't do anything, either.
    Does anyone know what's happening?
    BTW, I don't find the "Simulator" window too useful for my purposes. How can I disable it, so it doesn't automatically come up?
    Thanks!
    Edit: Well, it seems the KEY_DOWN event listener doesn't work for any key, not only the Back button.

    WHOWWW...
    suitable for Flash Player 11.6
    Back that down to as low a version as possible... 10 or so if possible.
    My advice.... never... ever target the latest version of plugin... most users will NOT have that plugin installed.
    Back it down and if that doesn't work, post a link to the actual Web page.
    Best wishes,
    Adninjastrator

  • Some of Photo (JPEG)-compressed images by Flash Pro are not shown in AIR app (3.7/3.8)

    Does anyone see this issue happening? In Flash Pro it's OK, but in AIR, it's broken.
    https://bugbase.adobe.com/index.cfm?event=bug&id=3558175
    Problem Description:
    Some JPEG-compressed images in swc produced by Flash Pro CS6 is not shown in AIR.
    Steps to Reproduce:
    1. Create a fla with Flash Pro CS6
    2. Put a png image in it and open the property of the image to make sure its compression option is Photo (JPEG)
    3. Produce an swc out of the fla
    4. Create an AIR app that shows the contents in the swc
    Actual Result:
    All images are shown
    Expected Result:
    Some of the images are not shown (nothing is shown where they are supposed to be)
    Any Workarounds:
    Use Lossless (PNG/GIF) for all images

    i was able to get it to work from a suggestion in another thread: if you write a JSFL that goes through all your bitmaps and makes sure they do not uset he default compression of the document, but instead use custom compression (it can match the default however). this worked for me

  • How do I get someone to activate my Flash pro cs6 after I properly deactivated it and now it won't reactivate.  I need a phone number or email address or something.

    I may need to reformat my computer soon.  It has been acting badly.  So, in accordance with instructions I have gotten from FLASH I deactivated Flash Pro CS6 before I turned off my computer to save myself a problem if the computer died before I deactivated FLASH.  Now, when I get back into FLASH PRO CS6 the "deactivate" button is grayed.  Who do I talk to about this and how do I contact them?

    See if the following helps...
    Activation & Deactivation Help
    If not, here is a contact link for chat.  For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • Yosemite - says "not enough application memory - and closes all open applications

    Since the day I installed Yosemite I have had problems. First, some other file was downloaded  when I did the Yosemite install which crashed the computer. It had to go in for repair. Once that was remedied, I frequently get an error message "Not enough
    application Memory and it starts automatically shutting down all of my programs. Normally, first to go is Mail, then Google (Safari would not work with Maverick - it would freeze) then Photoshop and whatever else is open. I did not have this problem with Maverick.  This is a pain!
    I am working on a 2009 Mac Pro with 24 MB Ram. 
    Any ideas about what is going on and how to remedy it. I would appreciate it. Thanks

    There is excessive swapping of data between physical memory (that is, the memory chips on the logic board) and virtual memory (one or more files on the startup volume.) That activity is relatively slow and causes the whole system to be less responsive. It can happen for two reasons:
              A long-running process with a memory leak (a kind of bug)
              Not enough memory for your usage pattern
    Tracking down a memory leak can be difficult, and it may come down to a process of elimination.
    These instructions are for OS X 10.9 and later. Some details may be slightly different for earlier versions of OS X.
    When you notice the swap activity, open the Activity Monitor application and select All Processes from the View menu, if it's not already selected. Select the Memory tab. Click the heading of the Real Mem column in the process table twice to sort the table with the highest value at the top. If you don't see that column, select
              View ▹ Columns ▹ Real Memory
    from the menu bar.
    If one process (excluding "kernel_task") is using much more memory than all the others, that could be an indication of a leak. A better indication would be a process that continually grabs more and more real memory over time without ever releasing it. Here is an example of how it's done.
    The processes named "Safari Web Content" render web pages for Safari. They use a lot of memory and may leak if certain Safari extensions or third-party web plugins are installed. Consider them prime suspects.
    Another process often implicated in memory leaks is "inkjet4" or "inkjet8," which is a component of the HP printing software. If it's present, force-quit the process in Activity Monitor to solve the problem temporarily. Empty the print queues in the Printers & Scanners preference pane (which has a slightly different name in each recent version of OS X.) If you don't use an HP printer, remove the software. Otherwise, if the problem is recurrent, update the software (which may not help) or contact HP support.
    "Wired" memory should be a small part of the total. That memory is not swapped, but it makes less physical memory available which may then result in swapping. If you have a lot of wired memory, that's usually an indication of a memory leak in a third-party program that modifies the operating system at a low level. Ask for guidance in that case.
    If you don't have an obvious memory leak, your options are to install more memory (if possible) or to run fewer programs simultaneously.
    The next suggestion is only for users familiar with the shell. For a more precise, but potentially misleading, test, run the following command:
    sudo leaks -nocontext -nostacks process | grep total
    where process is the name of a process you suspect of leaking memory. Almost every process will leak some memory; the question is how much, and especially how much the leak increases with time. I can’t be more specific. See the  leaks(1) man page and the Apple developer documentation for details.

  • Can't install Flash Pro CS6

    I have 5.5 MacBook Pro 13 running 10.7.4.
    I am trying to install Flash Pro CS6 Trial .. this error appears in the beginning of the installation process (when the progress bar is around 1%) :
    Exit Code: 34
    -------------------------------------- Summary --------------------------------------
    - 1 fatal error(s), 0 error(s), 0 warning(s)
    FATAL: Payload '{3F023875-4A52-4605-9DB6-A88D4A813E8D} Camera Profiles Installer 6.0.98.0' information not found in Media_db.
    Any ideas how to fix that ?
    p.s. i did restart, closed all apps, etc, etc ..

    Do you meet the minimum specs:
    Multicore Intel processor
    Mac OS X v10.6 or v10.7
    2GB of RAM (3GB recommended)
    4GB of available hard-disk space for installation; additional free space required during installation (cannot install on a volume that uses a case-sensitive file system or on removable flash storage devices)
    1024x768 display (1280x800 recommended)
    Java Runtime Environment 1.6
    DVD-ROM drive
    QuickTime 7.6.6 software required for multimedia features
    Which Intel Processor do you have? Early Intels won't cut it.

  • "There is not enough virtual memory available. Please save your work and restart {0}"

    This seems to be the most recent similar post. Prior posts are not useful as they have supposedly been fixed.  The most relevant Microsoft connect case has been closed.  The reported new Microsoft connect case has been deleted without explanation.
    https://social.msdn.microsoft.com/Forums/expression/en-US/294b17e4-c986-4dc3-9fa6-b246a50a4339/vs-2013-update-4-there-is-not-enough-virtual-memory-availableerror?forum=visualstudiogeneral
    Yet, still the problem persists.  Only working on one small XAML file. VS2013 and Blend always report "There is not enough virtual memory available. Please save your work and restart {0}" (except when they report "Package 'DesignPackage'
    failed to load" when run in safe mode) Saved my work and restarted VS2013, Blend, and the computer. Followed all other suggestions as much as possible.
    There is an abundant available and virtual memory.  The only changes from last week to this is Microsoft updates.
    Has there been any new effort on this issue that I have missed?
    What is left to do?

    Get IT to do it. Get them to uninstall all the latest updates, since you can identify them as a proximal cause of the problem. Also, search MS Knowledge Base or do some googling for the exact error text.
    We have no tech support resorces; we're just users.
    A horse walks into a bar. The bartender asks "Why the long face?" "Because I was born into servitude and when I die my hooves will be used to make glue." It was at this point that the bartender realized he would not be getting a tip.

Maybe you are looking for