(AIR) out of memory error when building workspace

Hi,
I created a very simple AIR project. But during the load the
workbench gave me out of memory errors.
Please find below the relevant .log entries.
Thanks for your help,
-Rogier
!SESSION 2007-06-13 14:13:10.241
eclipse.buildId=unknown
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.ui 4 4 2007-06-13 14:13:30.383
!MESSAGE Invalid Menu Extension (Path is invalid):
goToResource
!ENTRY org.eclipse.ui 4 4 2007-06-13 14:13:46.565
!MESSAGE Invalid Menu Extension (Path is invalid):
org.eclipse.jdt.ui.actions.GoToPackage
!ENTRY org.eclipse.ui 4 4 2007-06-13 14:13:46.565
!MESSAGE Invalid Menu Extension (Path is invalid):
org.eclipse.jdt.ui.actions.GoToType
!ENTRY org.eclipse.core.jobs 4 2 2007-06-13 16:29:02.002
!MESSAGE An internal error occurred during: "Building
workspace".
!STACK 0
java.lang.OutOfMemoryError: PermGen space
!ENTRY org.eclipse.ui 4 4 2007-06-13 16:29:02.159
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2007-06-13 16:29:02.159
!MESSAGE PermGen space
!STACK 0
java.lang.OutOfMemoryError: PermGen space
!ENTRY org.eclipse.core.jobs 4 2 2007-06-13 16:29:04.675
!MESSAGE An internal error occurred during: "Building
workspace".
!STACK 0
java.lang.OutOfMemoryError: PermGen space
!ENTRY org.eclipse.ui 4 4 2007-06-13 16:29:04.691
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2007-06-13 16:29:04.691
!MESSAGE PermGen space
!STACK 0
java.lang.OutOfMemoryError: PermGen space
!ENTRY org.eclipse.ui 4 4 2007-06-13 16:29:19.067
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2007-06-13 16:29:19.098
!MESSAGE Failed to execute runnable
(java.lang.OutOfMemoryError: PermGen space)
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.OutOfMemoryError: PermGen space)
at org.eclipse.swt.SWT.error(SWT.java:3374)
at org.eclipse.swt.SWT.error(SWT.java:3297)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3325)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
at
org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at
org.eclipse.ui.internal.ide.dialogs.InternalErrorDialog.open(InternalErrorDialog.java:78)
at
org.eclipse.ui.internal.ide.dialogs.InternalErrorDialog.openQuestion(InternalErrorDialog. java:185)
at
org.eclipse.ui.internal.ide.IDEExceptionHandler.openQuestionDialog(IDEExceptionHandler.ja va:174)
at
org.eclipse.ui.internal.ide.IDEExceptionHandler.handleException(IDEExceptionHandler.java: 100)
at
org.eclipse.ui.internal.ide.IDEWorkbenchAdvisor.eventLoopException(IDEWorkbenchAdvisor.ja va:298)
at
org.eclipse.ui.internal.ExceptionHandler.handleException(ExceptionHandler.java:62)
at
org.eclipse.ui.internal.progress.ErrorNotificationManager$1.run(ErrorNotificationManager. java:82)
at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3325)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
com.adobe.flexbuilder.standalone.FlexBuilderApplication.run(FlexBuilderApplication.java:1 03)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.OutOfMemoryError: PermGen space
!ENTRY org.eclipse.ui.workbench 4 2 2007-06-13 16:34:11.522
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
at
org.eclipse.ui.internal.EditorManager.convertToSaveables(EditorManager.java:1336)
at
org.eclipse.ui.internal.EditorManager.saveAll(EditorManager.java:1203)
at
org.eclipse.ui.internal.Workbench$13.run(Workbench.java:790)
at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.ui.internal.Workbench.saveAllEditors(Workbench.java:738)
at
org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:658)
at
org.eclipse.ui.internal.Workbench.access$8(Workbench.java:642)
at
org.eclipse.ui.internal.Workbench$15.run(Workbench.java:855)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at
org.eclipse.ui.internal.Workbench.close(Workbench.java:853)
at
org.eclipse.ui.internal.Workbench.close(Workbench.java:828)
at
org.eclipse.ui.internal.Workbench$23.handleEvent(Workbench.java:1848)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at
org.eclipse.swt.widgets.Display.sendEvent(Display.java:3484)
at
org.eclipse.swt.widgets.Display.messageProc(Display.java:2675)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native
Method)
at
org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1927)
at
org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:443)
at
org.eclipse.swt.widgets.Control.windowProc(Control.java:3334)
at
org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1539)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1634)
at
org.eclipse.swt.widgets.Display.windowProc(Display.java:4025)
at org.eclipse.swt.internal.win32.OS.PeekMessageW(Native
Method)
at
org.eclipse.swt.internal.win32.OS.PeekMessage(OS.java:2401)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2963)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
com.adobe.flexbuilder.standalone.FlexBuilderApplication.run(FlexBuilderApplication.java:1 03)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
!ENTRY org.eclipse.ui 4 4 2007-06-13 16:34:19.959
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2007-06-13 16:34:19.959
!MESSAGE PermGen space
!STACK 0
java.lang.OutOfMemoryError: PermGen space

Hi Rogier,
Can you please log it in our new public bug system:
http://bugs.adobe.com/flex?
It'd be great if you can provide more info to the bug e.g.
details of your simple AIR project, platform, FB version (Plugin or
Standalone).
thanks,
Sharon

Similar Messages

  • Out of memory error when sending messages

    Hello!
    I have OS X 10.4.10 and I have an email account setup (IMAP)in mail.
    Lately when I go to send a message, I get an "Out of Memory" error that it says is coming from the mail server, but I know for a fact that it's not a server issue (mail account works on a PC fine). If I try to send it again it goes through just fine.
    Any ideas?

    You are building an HTML table with 1500 rows? That is definitely a lot. And I assume you are also putting some styling on that table...
    These days programmers resource to [url en.wikipedia.org/wiki/AJAX]AJAX techniques for things like that.
    You can, for example, send the table data as a list of comma separated values, and then use Javascript on the browser to create a partial table with options to browse through the different pages of data.
    If you need to show all that data in one single page, you can still try sending just the data as CSV or XML and then building the table on the browser via a Javascript loop. Use CSS for the styling so you don't overload the HTML code with styling information.
    Marcos Broc
    Hi,
    I have a bit of a problem. I?m trying to generate
    quite a large JSP file (a table with about 1500
    rows). The problem is that I get an out of memory
    error when the JSP is being generated. And it is
    definitely that the JSP is too large, or rather the
    HTML being generated from it. Now I was under the
    impression that the JSP page was flush now and again,
    but I tried to set all the different flush options
    and I have also tried to manually flush the page.
    Nothing of this made any difference except for
    displaying a white page instead of an error page
    since the header was already sent. Now this suggests
    to me that the page is being cached internally by the
    server and then sent to the client. So is there
    anything I can do about this?
    Regards
    Hertz

  • Out of Memory Error when generating JSP

    Hi,
    I have a bit of a problem. I?m trying to generate quite a large JSP file (a table with about 1500 rows). The problem is that I get an out of memory error when the JSP is being generated. And it is definitely that the JSP is too large, or rather the HTML being generated from it. Now I was under the impression that the JSP page was flush now and again, but I tried to set all the different flush options and I have also tried to manually flush the page. Nothing of this made any difference except for displaying a white page instead of an error page since the header was already sent. Now this suggests to me that the page is being cached internally by the server and then sent to the client. So is there anything I can do about this?
    Regards
    Hertz

    You are building an HTML table with 1500 rows? That is definitely a lot. And I assume you are also putting some styling on that table...
    These days programmers resource to [url en.wikipedia.org/wiki/AJAX]AJAX techniques for things like that.
    You can, for example, send the table data as a list of comma separated values, and then use Javascript on the browser to create a partial table with options to browse through the different pages of data.
    If you need to show all that data in one single page, you can still try sending just the data as CSV or XML and then building the table on the browser via a Javascript loop. Use CSS for the styling so you don't overload the HTML code with styling information.
    Marcos Broc
    Hi,
    I have a bit of a problem. I?m trying to generate
    quite a large JSP file (a table with about 1500
    rows). The problem is that I get an out of memory
    error when the JSP is being generated. And it is
    definitely that the JSP is too large, or rather the
    HTML being generated from it. Now I was under the
    impression that the JSP page was flush now and again,
    but I tried to set all the different flush options
    and I have also tried to manually flush the page.
    Nothing of this made any difference except for
    displaying a white page instead of an error page
    since the header was already sent. Now this suggests
    to me that the page is being cached internally by the
    server and then sent to the client. So is there
    anything I can do about this?
    Regards
    Hertz

  • [N95 8GB]Out of Memory error when opening 15MB pdf...

    What is the file size limit when opening a pdf file? I have a 15MB pdf file that cause 'Out of memory' error when I opened it with the PDF Reader that comes with the phone.
    Thanks.

    Hi,
    It seems that problem is file specific, so could you please share a file with me. I sending you a private message.
    Regards,
    Anoop

  • Indesign cs5 'out of memory' error when using preflight

    I have been regulary getting an 'out of memory' error when i choose to use my bespoke preflight profile.
    I have 4gig of ram and run Indesign CS5 on OS 10.6.8.
    Does anyone know a work around?
    As soon as I select from the basic default profile, i get the beach ball from hell for 10mins, then it kindly lets me know that I am out of memory, sends a crash report to Adobe and then asks if I want to relauch. I'm stuck in a vicious circle. I must of sent my 4th crash report now and no feedback from anyone at Adobe.

    I have replaced my preferences, but still the problem persists. I have tried switching my view from typical display to fast display before i selected a profile. I thought this may give me the extra memory I needed to avoid the enevitable crash. I learnt that 2 files were indeed rgb instead of cmyk before it crashed again. So I switched them to cmyk and tried again, selected my bespoke profile, but yet again it crashed. I think the problem lies with the file, not Indesign, as i have tried the same profile on a different file and the program doesn't crash and runs as it should. So if in future I need to use said crashing file again, firstly i will need to try Peter's isolate fix method. Otherwise i'll never be able to progress to successful a pdf.

  • Out of Memory Error when Saving SequenceFile generated using API

    I am currently developing an application that creates a SequenceFile using .NET 4.0, C# (2010), Windows 7 Pro x64, Dual Core 2.5 GHz, 3.0Gb Memory.  Using the API EngineClass, I create a complete SequenceFile based on user/file inputs and then save it to disk.  When I'm done, I save using SequenceFile.Save() and then release using ReleaseSequenceFileEx().
    For smaller files, there is no problem.  For larger files, I sporadically get the following error:
    System.Runtime.InteropServices.COMException (0xFFFFBD98): Out of memory.
    When the file does save, it is ~2.8Mb.  Breaking the file up is not an option.  I am not looping, this is one shot.  I've tried shutting down VS2010 and restarting the computer.  It is still inconsistent on saving.
    I also had to set the Embed Interop Types to False per guidance from NI.  They said that it is unstable in 4.0.
    Questions
    1. Is there a file limit size to the Save() API function?
    2. Is there a workaround to using the Save()?
    Best Regards
    Solved!
    Go to Solution.

    I am using C#.NET.  I called them in my save method immediately prior to the actual test save sequence.
    GC.Collect();
    GC.WaitForPendingFinalizers();
    GC.Collect();
    GC.WaitForPendingFinalizers();
    try
           CurrentSequenceFile.Save(outputPath);
           catch (Exceptionerror)
           FireLogEvent(ParserLogType.Parsing_Error, string.Format("{0}", error));
    Factory.TSEngine.ReleaseSequenceFileEx(CurrentSequenceFile, ReleaseSeqFileOptions.ReleaseSeqFile_UnloadFile);
    Hope this helps

  • Out of Memory Errors when Exporting Slideshows

    Hi -
    I've been using LR for sometime now. Today, for the first time ever, I attempted to export a slideshow as a .pdf file, 90% quality setting, 48 slides total. LR created a 41MB file. However, when I played it back, there were many slides which only showed an empty frame with the message "out of memory error" upside down in the lower left corner of the frame. The same slides displayed the message each time I played it, so I'm sure the problem stemmed from creating the file, not showing it.
    I have a core 2 duo machine with 4GB Ram and no other applications running at the time I exported the slideshow.
    Any thoughts on this? BTW, I'm running version 1.2
    Thanks!
    E-

    Try restarting and reexporting. OOM errors have little to do with how much memory you have or how much is available.

  • Out of memory errors when trying to sync local and remote sites

    We cannot get our remote and local sites synchronized for the first time. We have a huge site and we get out or memory errors or the synch just doesn't work. Any solutions or insights?
    Our site has 9,000+ HTML files and accompanying images, pdfs, etc. When we try to synch the remote to the local for the first time, it just will not happen. Every once in a while someone gets lucky, but for the most part, we either get an "out of memory" error or the synch just doesn't work, and it doesn't tell us anything. It just stops responding. HELP!

    Hi dmooresatx,
    I am not aware of the limitations of the file sizes that are allowed for a successful sync operation. If you are using a purchased version of Dreamweaver CC, send me your Adobe ID along with your contact details (phone, email number). Click on my picture and use the message option. If you are using a team license, get these details from your administrator.
    Thanks,
    Preran

  • Getting HeapDump on out of memory error when executing method through JNI

    I have a C++ code that executes a method inside the jvm through the JNI.
    I have a memory leak in my java code that results an out of memory error, this exception is caught in my C++ code and as a result the heap dump is not created on the disk.
    I am running the jvm with
    -XX:+HeapDumpOnOutOfMemoryError
    -XX:HeapDumpPath=C:\x.hprof
    Any suggestions?
    Thanks

    I'll rephrase it then.
    I have a java class named PbsExecuter and one static method in it ExecuteCommand.
    I am calling this method through JNI (using CallStaticObjectMethod). sometimes this method causes the jvm to throw OutOfMemoryError and I would like to get a heap dump on the disk when this happens in order to locate my memory leak.
    I've started the jvm with JNI_CreateJavaVM and I've put two options inside the JavaVMInitArgs that is used to create the Jvm. -XX:+HeapDumpOnOutOfMemoryError and -XX:HeapDumpPath=C:\x.hprof
    which supposed to create a heap dump on the disk when OutOfMemoryError occurs.
    Normally if I would execute normal java code, when this exception would occur and I wouldn't catch it the Jvm would crash and the heap dump would be created on the disk.
    Since I need to handle errors in my C++ code I am use ExceptionOccured() and extracts the exception message from the exception it self and write it.
    For some reason when I execute this method through JNI it doesn't create the dump.

  • Out of memory error when writing large file

    I have the piece of code below which works fine for writing small files, but when it encounters much larger files (>80M), the jvm throws an out of memory error.
    I believe it has something to do with the Stream classes. If I were to replace my PrintStream reference with the System.out object (which is commented out below), then it runs fine.
    Anyone else encountered this before?
         print = new PrintStream(new FileOutputStream(new File(a_persistDir, getCacheFilename()),
                                                                false));
    //      print = System.out;
              for(Iterator strings = m_lookupTable.keySet().iterator(); strings.hasNext(); ) {
                   StringBuffer sb = new StringBuffer();
                   String string = (String) strings.next();
                   String id = string;
                   sb.append(string).append(KEY_VALUE_SEPARATOR);
                   Collection ids = (Collection) m_lookupTable.get(id);
                   for(Iterator idsIter = ids.iterator(); idsIter.hasNext();) {
                        IBlockingResult blockingResult = (IBlockingResult) idsIter.next();
                        sb.append(blockingResult.getId()).append(VALUE_SEPARATOR);
                   print.println(sb.toString());
                   print.flush();
    } catch (IOException e) {
    } finally {
         if( print != null )
              print.close();
    }

    Yes, my first code would just print the strings as I got them. But it was running out of memory then as well. I thought of constructing a StringBuffer first because I was afraid that the PrintStream wasn't allocating the memory correctly.
    I've also tried flushing the PrintStream after every line is written but I still run into trouble.

  • "Out of memory" error when compiling loki-like templates w/Typelists

    Using Forte C++ 5.3 with the latest [2002/03/20] patches, attempts to compile a loki-like Functor template [download at www.awl.com/cseng/titles/0-201-70431-5 or see "Modern C++ Design" by A. Alexandrescu] whose family of operator()() functions take up to 15 parameters cause an "Out of memory" error. The top(1) command showed that the complier's process size exceeded 2.0G and that the compiler had run for 20+ minutes.
    At 10 parameters, the compiler quickly [ <2 minutes ] and successfully compiles the same source. At 11 parameters, the compilation is very slow [ >5 minutes] yet still successful.
    Platform: SPARC SunFire 280R 500MHz

    I'm having similar problems:
    One source file that has a 13 argument recursive template takes a long time to build, and uses almost .75GB. Optimized builds of the same file never complete, and fail with:
    SunWS_cache: Error: Error occurred in invoked compiler, /opt/SUNWspro/bin/../WS6
    U2/bin/CC [process fork failure, errno = 12]. Aborting....
    operator()() functions take up to 15 parameters cause
    an "Out of memory" error. The top(1) command showed
    that the complier's process size exceeded 2.0G and
    that the compiler had run for 20+ minutes.
    At 10 parameters, the compiler quickly [ <2 minutes ]
    and successfully compiles the same source. At 11
    parameters, the compilation is very slow [ >5 minutes]
    yet still successful.
    Platform: SPARC SunFire 280R 500MHz

  • Out of memory error when rendering.

    I edited a 40 minute show (25P) using Aspect 3.4 codec. When I export to DVD in low quality 1 pass everything is okay. However, when I export to DVD in High Quality 1 pass or low quality 2 pass I get an error half way through the rendering (out of memory error). What's the story?

    Try:
    Error:Out of memory
    Cheers
    Eddie
    PremiereProPedia   (
    RSS feed)
    - Over 300 frequently answered questions
    - Over 250 free tutorials
    - Maintained by editors like
    you
    Forum FAQ

  • Weblogic generating out of memory error when commandline run doesn't

    Hello,
    I am just beginning to use weblogic. I have a jar file which runs fine if run from command line with the options
    "C:\Program Files (x86)\Java\jre6\bin\java" -jar -Xms1024m -Xmx1024m Report.jarIt connects to oracle and selects some data around (500k records) and writes it to a csv.
    When I run the same jar from within a web application (I mean obvoiusly a servlet calling the jar's main method) the webapp generates
    out of memory error after 80k records itself.
    I tried changing the configuration the server Startup arguments from the console (Server Start and then Arguments) and then restart.
    I just wrote the same thing there -Xms1024m -Xmx1024m
    I guess I am missing something. Please share your answers.
    Environment :
    Win2k8, weblogic 10gR3, jdk 1.5. The application is installed as a service.
    Thanks,
    Neetesh
    Edited by: user13312817 on 5 Dec, 2011 12:15 AM

    If you are not using NodeManager, then I don't think those server settings actually control anything. If you are just exploring WLS, then I suspect you are simply starting an AdminServer in a basic domain and don't have a cluster/nodemanager based environment. I could be wrong, please correct as needed!
    If you are simply starting your WebLogic Server instance using the startWebLogic.sh|cnd script, you can set an environment variable on the command shell that will be picked up and used when the server starts.
    set USER_MEM_ARGS=-Xmx1024 -Xms1024m
    * apply appropriate *nix changes as appropriate.
    Then use the startWebLogic.sh|cmd script to start the server and test your application.
    It may very well be the case that your particular application consumes > 1GB heap so you may need more. Remember that you now have a server environment running over your "main" class, so there is bound to be more memory used that could be just sneaking your heap use over 1GB. For example.
    -steve-

  • Out of memory error when exporting to QT self contained movie

    When I export to QT self contained movie the program runs for about an hour then brings an "out of memory" error. My project is 1hour 10 min. I have 650 GB on the external drive I'm saving to and another 145 GB on my imac's drive. There are also photographs I've included in the sequence but I have removed them all from the sequence to see if the format was the problem but the error still comes up. I would appreciate any help.

    Well I don't have to render as I go, it is just a choice. I checked to see if all the video and stills were rendered. I re-rendered after making sure all of the options were checked, removed all of the stills from the timeline just in case the still format was the problem, then attempted to export again. It took about 2 hours. I watched with activity monitor and it took almost all of the available disc space then my computer shut itself down. When I rebooted there was a Quicktime file 320 GB in size but would not open. I got an error message that it was not a mov. file.
    But to answer your question:
    Video is 29.97fps DV/DVCPRO
    Frame size is 720 x 480
    3.0 mb/sec
    16 bit Integer
    Aplha= None /ignore
    Composit is Normal
    NTSC-CCIR 601
    Stereo
    Stills are at 25.0 fps JPEG

  • "Out of memory" error when receiving "Bytes" via Webservices.

    When I receive Byte content via Webservices over 3.5MB, I get Out of memory error.
    Does Everybody know how to solve this problem?
    I'm using TomCat 4.1 [and 5.0.28 too] with Axis.

    Then you are not using them correctly. If I set up my stream to read into 2K buffers, then my memory overhead should not significantly exceed 2K when reading the file. My bet is you are reading everything into memory and then writing it.
    Post some code. Not the whole application or even the whole class, just the part performing I/O. And please use the 'code' formatting button above when doing so. Then, perhaps, we can help diagnose your issue.
    - Saish

Maybe you are looking for