Java Heap space problem

Hi,
I have an web application which throws out of memory error when more than 5 users logs in .I am using jboss server with linux box.I have 1Gb physical memory. I tried changing the jvm options but still it's not working .I am using lots of session variables.does this costs any real performance issue? please give your valuable inputs
thanks in advance
Sree

If changing jvm setting s did not work, try tuning the server..Also, try starting the IDE with a new userdir if you get the error when running the app from the IDE.

Similar Messages

  • Java heap space problem in SUN identity management

    Hi All,
    i am new to sun idm, i have installed netbeans 6.0.1 with tomcat 6.0.14 and then i have installed sun idm inside the web container(webapps/idm). When i stared my webserver manually using startup.batch file then I can easily go to inside administrator interface and i can create users in idm. but when i try to create a project in netbeans and then I try to RUN the project through netbeans .. then Admin interface will automatically opened but I try to create a user i am getting the following error.
    com.waveset.util.WavesetException: Can't call method getObjectNames on class com.waveset.ui.FormUtil
    ==> java.lang.OutOfMemoryError: Java heap space
    Please help me in this ...
    my server log as follows
    Using CATALINA_BASE: C:\Documents and Settings\Nirmalkumar.Dhanaraj.R5-CORE\.netbeans\6.0\apache-tomcat-6.0.14_base
    Using CATALINA_HOME: C:\Apache Software Foundation\Apache Tomcat 6.0.14
    Using CATALINA_TMPDIR: C:\Documents and Settings\Nirmalkumar.Dhanaraj.R5-CORE\.netbeans\6.0\apache-tomcat-6.0.14_base\temp
    Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_18
    Aug 19, 2009 2:51:53 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_18\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\Java\jdk1.5.0_18\bin;C:\Program Files\Java\jre1.5.0_18\bin;
    Aug 19, 2009 2:51:53 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Aug 19, 2009 2:51:53 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 371 ms
    Aug 19, 2009 2:51:53 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Aug 19, 2009 2:51:53 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.14
    Aug 19, 2009 2:51:53 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
    INFO: validateJarFile(D:\sunIDM\IDM8.0\Idm\image\idm\WEB-INF\lib\j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    Constructing Startup Servlet...
    Initializing Startup Servlet...
    Defining system properties...
    StartupServlet: programmatically derived waveset.home=file:D:\sunIDM\IDM8.0\Idm\image\idm\
    StartupServlet: Defining properties from web.xml
    Starting: Identity Server...
    Starting internal database server ...
    DB Server @ jdbc:hsqldb:hsql://127.0.0.1:54210/idm
    ...Finished starting Startup Servlet
    Aug 19, 2009 2:52:07 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Aug 19, 2009 2:52:07 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Aug 19, 2009 2:52:07 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/16 config=null
    Aug 19, 2009 2:52:07 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 13773 ms
    Shutting down Startup Servlet...
    Stopping: Identity Server...
    Stopping internal database server ...
    ...Finished shutting down Startup Servlet in 1499 ms
    Aug 19, 2009 2:52:09 PM org.apache.catalina.startup.HostConfig checkResources
    INFO: Undeploying context [Idm]
    Aug 19, 2009 2:52:09 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
    INFO: validateJarFile(D:\sunIDM\IDM8.0\Idm\image\idm\WEB-INF\lib\j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    Constructing Startup Servlet...
    Initializing Startup Servlet...
    Defining system properties...
    StartupServlet: programmatically derived waveset.home=file:D:\sunIDM\IDM8.0\Idm\image\idm\
    StartupServlet: Defining properties from web.xml
    Starting: Identity Server...
    Exception in thread "HSQLDB Timer @8ddc4c" java.lang.NullPointerException
    at org.hsqldb.lib.HsqlTimer.nextTask(Unknown Source)
    at org.hsqldb.lib.HsqlTimer$TaskRunner.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:595)
    Starting internal database server ...
    DB Server @ jdbc:hsqldb:hsql://127.0.0.1:54210/idm
    ...Finished starting Startup Servlet
    Aug 19, 2009 2:52:21 PM org.apache.catalina.core.StandardContext start
    INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[Idm] has already been started
    XPRESS <invoke> exception:
    com.waveset.util.WavesetException: Can't call method getObjectNames on class com.waveset.ui.FormUtil
    ==> java.lang.OutOfMemoryError: Java heap space

    Hi, there might be some information here that is useful: http://blogs.adobe.com/livecycle/2008/11/livecycle_es_update_1_turnkey.html

  • PDFBox ... Java heap space problem !!

    Hello,
    I'm using PDFBox trying to read (2) pdf files in it, but both are big in size(About 17 MB) each.
    Here is an example for what i want to do :
    public void loadPdfs() {
       String pdf1FilePath = "c:\\java long pdf1.pdf";
       String pdf2FilePath = "c:\\java long pdf2.pdf";
       try {
          PDDocument pdf1File = PDDocument.load( pdf1FilePath );
          //....Do some stuff here.
          pdf1File.close();
          Runtime.getRuntime().gc();
          PDDocument pdf2File = PDDocument.load( pdf2FilePath ); //This line causes the Exception.
       } catch (IOException e) {
          e.printStackTrace();
    } I get this Exception :
    org.pdfbox.exceptions.WrappedIOException: Java heap space
    java.lang.OutOfMemoryError: Java heap space And if i tried to load only (1) pdf it works fine. So why does this happen ?
    I do close the first pdf, and run the Garbage Collector, so when opening the second pdf, it's as if opening (1) file now, or am i mistaken ?

    Sure, you close the PDF (whatever that does). But you're still holding a reference to it, so it can't be garbage collected. This is one of the rare occasions where setting a variable to null is a useful thing to do.try {
      PDDocument pdf1File = PDDocument.load( pdf1FilePath );
      //....Do some stuff here.
      pdf1File.close();
      pdf1File = null;
      PDDocument pdf2File = PDDocument.load( pdf2FilePath ); //This line causes the Exception.
    } catch (IOException e) {
      e.printStackTrace();
    }  Don't bother to call the gc() method, if garbage collection needs to be done then it will be done.

  • When I try to load an image from the scanner, or from a file, into a bank deposit script, I get a message - "Error Java heap space". Need help to diagnose and fix this problem.

    I am running a script from my banking facility which asks me to load an image of the front and back of the check. I never had a problem before, but this time when I try to load the images either directly from the scanner, or from previously saved jpg files I get an error window message that says - Error Java heap space,
    Ed Marcato

    I am running a script from my banking facility which asks me to load an image of the front and back of the check. I never had a problem before, but this time when I try to load the images either directly from the scanner, or from previously saved jpg files I get an error window message that says - Error Java heap space,
    Ed Marcato

  • BI XML Publiser Issue java langOutOfMemoryError Java heap space

    Hi
    I am getting 'java.lang.OutOfMemoryError: Java heap space' error in XML publisher report. Just i am running 15MB data report still its giving OutOfmemory issue.
    Please help on this.
    [5/22/12 9:08:00 AM] [98639:RT12903275] XML Publisher post-processing action complete.
    [5/22/12 9:08:01 AM] [98639:RT12903275] Completed post-processing actions for request 12903275.
    [5/22/12 10:20:15 AM] [OPPServiceThread1] Post-processing request 12903281.
    [5/22/12 10:20:19 AM] [98639:RT12903281] Executing post-processing actions for request 12903281.
    [5/22/12 10:20:19 AM] [98639:RT12903281] Starting XML Publisher post-processing action.
    [5/22/12 10:20:19 AM] [98639:RT12903281]
    Template code: XXGFS_AP_APMCGRN
    Template app: XXGFS_AP
    Language: en
    Territory: US
    Output type: EXCEL
    Exception: java.lang.OutOfMemoryError: Java heap space
    java.lang.OutOfMemoryError: Java heap space
         at oracle.jdbc.dbaccess.DBItem.allocBuffer(DBItem.java:204)
         at oracle.jdbc.dbaccess.DBItem.allocBuffer(DBItem.java:232)
         at oracle.jdbc.dbaccess.DBDataSetImpl._allocItemsAndBuffers(DBDataSetImpl.java:300)
         at oracle.jdbc.dbaccess.DBDataSetImpl._allocDataAndItems(DBDataSetImpl.java:261)
         at oracle.jdbc.dbaccess.DBDataSetImpl.setType(DBDataSetImpl.java:2068)
         at oracle.jdbc.dbaccess.DBDataSetImpl.setType(DBDataSetImpl.java:1951)
         at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterBytes(OracleCallableStatement.java:278)
         at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:402)
         at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:477)
         at oracle.apps.fnd.cp.gsm.GenCartComm.getQueueMessage(GenCartComm.java:185)
         at oracle.apps.fnd.cp.gsf.GSMStateMonitor.waitForNextEvent(GSMStateMonitor.java:95)
         at oracle.apps.fnd.cp.gsf.GSMServiceController.mainLoop(GSMServiceController.java:236)
         at oracle.apps.fnd.cp.gsf.BaseServiceController.run(BaseServiceController.java:71)
         at java.lang.Thread.run(Thread.java:619)
    Exception in thread "Cache Stats Writer" java.lang.OutOfMemoryError: GC overhead limit exceeded
    Exception in thread "OPPAQMON:98639" java.lang.OutOfMemoryError: Java heap space
         at oracle.jdbc.dbaccess.DBItem.allocBuffer(DBItem.java:204)
         at oracle.jdbc.dbaccess.DBItem.allocBuffer(DBItem.java:232)
         at oracle.jdbc.dbaccess.DBDataSetImpl._allocItemsAndBuffers(DBDataSetImpl.java:300)
         at oracle.jdbc.dbaccess.DBDataSetImpl._allocDataAndItems(DBDataSetImpl.java:261)
         at oracle.jdbc.dbaccess.DBDataSetImpl.setType(DBDataSetImpl.java:2068)
         at oracle.jdbc.dbaccess.DBDataSetImpl.setType(DBDataSetImpl.java:1951)
         at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterBytes(OracleCallableStatement.java:278)
         at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:402)
         at oracle.apps.fnd.cp.opp.OPPAQMonitor.waitForMessage(OPPAQMonitor.java:423)
         at oracle.apps.fnd.cp.opp.OPPAQMonitor.run(OPPAQMonitor.java:113)
         at java.lang.Thread.run(Thread.java:619)
    [5/22/12 10:24:36 AM] [UNEXPECTED] [98639:RT12903281] java.lang.OutOfMemoryError: Java heap space

    user972966 wrote:
    There are two tables (tableA, tableB) in two different databases. They both have almost same schema/structure. There is mapping between tables on their columns.
    I need to develop a Java application to compare data value between these two tables for a time frame (for example one day) and find missing records or mismatch data.
    The volume of data, even for one day, is huge; almost 70M, 100M. Do you mean this many records? or this many MB. either way they are not that big for Java. If you have collections of up to 2 billion entries, you won't have a problem.
    >
    I have tried to use Thread to split the comparison process in 10 threads. Each thread is fetching portion of data from both tables (for example 7M each) and processing portion them. The issue that I am facing is, I am getting following exception after running:I would suggest you get the program working with one thread first. You will find this is simpler and possibly even faster. Having 10 threads isn't guarenteed to be faster.
    >
    To compare the data, I am fetching data from tableA and add it into List<MyDataObject> listA (the MyDataObject represent a one row data. It is a java bean) and then I am fetching data from tableB and add it into List<MyDataObject> listB
    And then I compare the lists.
    It seems there is limitation in size of List and I cannot add many elements to a List object, it’ll throws Out of Memory exception. The limit is 2^31-1. However an Out of Memory error means what it says. You are out of heap space, so you need to either increase it, or use less memory.
    >
    This method works for small volume, but for large one I get that exceptionIs there any reason you cannot divide the problem so you can process a small volume at a time?

  • Large Report Errors out with Java Heap Space in EBS 12.0.6

    When running custom or Standard BI report that have a huge data , we get a following error in EBS
    [UNEXPECTED] [156627:RT4605044] java.lang.OutOfMemoryError: Java heap space
    at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:45)
    at java.lang.StringBuffer.<init>(StringBuffer.java:91)
    at oracle.apps.xdo.template.fo.FOHandler.init(FOHandler.java:161)
    at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:335)
    at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1045)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:259)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
    We have tried the follwing workaroud mentioned in the docoment 737311.1
    A)
    1)update FND_CP_SERVICES set DEVELOPER_PARAMETERS =
    'J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx5120m'
    where SERVICE_ID = (select MANAGER_TYPE from FND_CONCURRENT_QUEUES
    where CONCURRENT_QUEUE_NAME = 'FNDCPOPP');
    2)As XML Publisher Administrator navigate to Administration->Configuration.
    Under Temporary Directory pick a temporary file location on your concurrent processing node. This should be at least 5GB or 20x larger than largest XML data file you generate
    Under FO Processing, set:
    Use XML Publisher's XSLT processor set to True
    Enable scalable feature of XSLT processor set to False (see #4 below),
    Enable XSLT runtime optimization set to True
    3)We also have tried to to apply the workaround mentioned in the document 747750.1
    In to Concurrent -> Program -> Define, in the 'Executable' group, there is a field named 'Options'.
    Enter the value '-ms1024m -mx1024m' as the value for this field.
    None of these seem to have worked.
    Also refered to the the previous forum entries on these. But did not find anything specific to EBS. Most of them were related to Standalone installations.
    CAn anyone help me.
    Dhaval K

    hi gurus
    The problem has sovled.I supplyed the wrong file for the rawfile.conf,everything was fine after I provided the corrent one.
    Thanks for your time.

  • Java heap space error occured during message mapping of FILE to IDOC

    hello Friends,
                          I am trying to do the message mapping for File to Idoc scenario.
    Idoc which I am using is HRMD_A.HRMD_A06 and infotype which I want to update is 14. I am trying to map the message type which I hav created for infotype 14 with the IDOC
    Its very simple scenerio but  every time I try to save the mapping before activating it I get an error:
    Java heap space
    Internal problem occurred (INTERNAL_PROBLEM)
    Java heap space.
                I am not able to figure out what possibly is the problem wheather its from my end or the BASIS end.
    Kindly help.
    Regards,
    Lokesh

    As the server probably survives (you restart your Integration Builder and can probably connect immediately), the problem will be on your side (client). Did you add one or more large xml-test-instances to the mapping ? If yes, delete them, because they lower the performance and can make problems. If not, then this is a strange problem. Even if the Idoc structure is complex, the mapping object itself cannot be that large.Is this problem only with this one mapping ?
    CSY
    Edited by: Christian Sy on Mar 9, 2010 6:26 AM

  • 10Mb .swf compilation - OutOfMemoryError: Java heap space...

    When I try to compile my 10Mb .swf with the "-Xmx1024m" setting in pfi.bat I getting:
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
          at java.util.Arrays.copyOf(Unknown Source)
          at java.io.ByteArrayOutputStream.write(Unknown Source)
          at java.io.OutputStream.write(Unknown Source)
          at adobe.abc.GlobalOptimizer.emitAbc(GlobalOptimizer.java:2670)
          at adobe.abc.GlobalOptimizer.emit(GlobalOptimizer.java:2594)
          at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:320)
          at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:172)
          at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcode(AOTCompiler.java:329)
          at com.adobe.air.ipa.AOTCompiler.GenerateMacBinary(AOTCompiler.java:600)
          at com.adobe.air.ipa.IPAOutputStream.compileRootSwf(IPAOutputStream.java:196)
          at com.adobe.air.ipa.IPAOutputStream.finalizeSig(IPAOutputStream.java:366)
          at com.adobe.air.ADTPackager.createPackage(ADTPackager.java:65)
          at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:165)
          at com.adobe.air.ADTEntrypoint.parseArgsAndGo(ADTEntrypoint.java:132)
          at com.adobe.air.ipa.PFI.parseArgsAndGo(PFI.java:152)
          at com.adobe.air.ADTEntrypoint.run(ADTEntrypoint.java:68)
          at com.adobe.air.ipa.PFI.main(PFI.java:112)
    When I increase try jave heap from "-Xmx1024" to "-Xmx1200" or more memory for jave heap I stable getting:
    # A fatal error has been detected by the Java Runtime Environment:
    #  Internal Error (0xe06d7363), pid=3796, tid=3048
    # JRE version: 6.0_16-b01
    # Java VM: Java HotSpot(TM) Client VM (14.2-b01 mixed mode windows-x86 )
    # Problematic frame:
    # C  [kernel32.dll+0x12afb]
    # An error report file with more information is saved as:
    # C:\svn\xxx\components\xxx\output\hs_err_pid3796.log
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    Compilation process looks like this:
    Have anybody idea how can I compile my .swf? Thanks.

    Hi Joseph,
    I'm having the same problem with CWLMS 4.0.1. But I didn't find this file heap.properties in the
    /opt/CSCOpx/MDc/tomcat/webapps/rme/WEB-INF/classes/com/cisco/nm/rmeng/cli/framework/
    Do you know where I customize this parameter in that version?
    Thanks,
    Patricia Oliveira

  • OutOfMemoryError: Java heap space

    Hi There
    i am facing som problem in my one of concurrent manager (Output Post Processor) and its showing value of Actual 2 and Target 3 and getting some exception in one of process's log which as follwos.
    Exception in thread "PacketReceiver for [172.20.2.11:15028]" java.lang.OutOfMemoryError: Java heap space
         at java.net.SocketInputStream.read(SocketInputStream.java:181)
         at oracle.ias.cache.group.HttpHandler.read(Unknown Source)
         at oracle.ias.cache.group.StreamHandler.read(Unknown Source)
         at oracle.ias.cache.group.EndPoint.read(Unknown Source)
         at oracle.ias.cache.group.PacketReceiver.run(Unknown Source)
    Exception in thread "OPPAQMON:206703" java.lang.OutOfMemoryError: Java heap space
         at oracle.jdbc.driver.T4CMAREngine.unmarshalDALC(T4CMAREngine.java:2125)
         at oracle.jdbc.driver.T4C8TTIrxh.unmarshalV10(T4C8TTIrxh.java:119)
         at oracle.jdbc.driver.T4CTTIiov.unmarshalV10(T4CTTIiov.java:188)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:614)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:191)
         at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:950)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1225)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3488)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3857)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
         at oracle.apps.fnd.cp.opp.OPPAQMonitor.waitForMessage(OPPAQMonitor.java:429)
         at oracle.apps.fnd.cp.opp.OPPAQMonitor.run(OPPAQMonitor.java:114)
         at java.lang.Thread.run(Thread.java:619)
    please help me out how to resolved this issue.
    Application: Oracle Ebs-R12(12.1.2)
    DB: 11.1.0.7
    OS: linux 5*86x64
    Waiting for valuable response.
    Regards,
    Mohsin

    Hi Hussein
    I have a question on this OPP java heap space .
    Let say I have 10 Process allocated for OPP and heap space allocated to OPP is 1024 MB.
    Q 1 . Let say 5 requests are running by 5 OPP processes.. Then how this heap memory allocated ?
    is it something like heap space / number of running requests by OPP (1024/5 in this case )
    Q 2. Let say i have submitted 2 requests . One request needs 800 MB of heap space (based on the past runs )
    And Second one requires 500 MB of heap space .
    In this we will get java out of memory error ? Am I correct ?
    Q 3 . Will all requests after submitted after test case 2 ( Q 2) encounter out of memory errors Since the heap space was exhausted until OPP bounced or full /GC Completed/
    Please Correct me if I am wrong
    --Thanks In advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Trouble with  "java.lang.OutOfMemoryError: Java heap space"

    Hello,
    I use a Java-based modeling tool that very few out there are probably familiar with. This tool allows me to run models (program) from within the development environment, to create Applets or create jar files that can be executed in a stand-alone fashion.
    I am using a database on my local harddrive to read in some data using JDBC, so am not using the Applet option with certificates. The development environment is expensive, so can't be distributed. That leaves the stand-alone option.
    The model (program) I've written runs perfectly fine in the development environment and, previously, has worked fine as a stand-alone program. However, the stand-alone option isn't working anymore, because I keep getting this error.
    I am not much of a Java programmer; I'm learning as I go along. If anyone can help me solve this, I'll be most appreciative
    From my cmd prompt:
    C:\Documents and Settings\072\Desktop\TA\for\for Applet Files>cd "C:\D
    ocuments and Settings\072\Desktop\TA\for\for Applet Files"
    C:\Documents and Settings\072\Desktop\TA\for\for Applet Files>java -cl
    asspath enterprise_library.jar;business_graphics_library.jar;for.jar;xjanylog
    ic5engine.jar for/Main$Simulation
    Started...
    AnyLogic simulation engine has started [$Id: Engine.java,v 1.134 2004/12/03 08:4
    9:39 basil Exp $]
    java.lang.OutOfMemoryError: Java heap space
    setting error: Exception during root.courseQueue-1556 startup: java.lang.OutOfMe
    moryError: Java heap space
    thread = Thread[Model Creation Thread,5,main]
    engine = com.xj.anylogic.Engine@1099257
    Exception in thread "Image Fetcher 0" java.lang.OutOfMemoryError: Java heap spac
    e
    java.lang.OutOfMemoryError: Java heap space
    setting error: Exception during startup: java.lang.OutOfMemoryError: Java heap s
    pace
    thread = Thread[Model Creation Thread,5,main]
    engine = com.xj.anylogic.Engine@1099257
    java.lang.OutOfMemoryError: Java heap space
    setting error: Exception in statechart 'root.courseExit-0.inputProcessor' entry
    actions: java.lang.OutOfMemoryError: Java heap space
    thread = Thread[AnyLogic main thread,5,main]
    engine = com.xj.anylogic.Engine@1099257
    java.lang.OutOfMemoryError: Java heap space
    setting error: Exception in statechart 'root.courseDelay-0.inputProcessor' entry
    actions: java.lang.OutOfMemoryError: Java heap space
    thread = Thread[AnyLogic main thread,5,main]
    engine = com.xj.anylogic.Engine@1099257
    java.lang.OutOfMemoryError: Java heap space
    setting error: Exception in statechart 'root.courseDelay-1.inputProcessor' entry
    actions: java.lang.OutOfMemoryError: Java heap space
    thread = Thread[AnyLogic main thread,5,main]Exception in thread "AWT-EventQueu
    e-0"
    java.lang.OutOfMemoryError: Java heap space
    engine = com.xj.anylogic.Engine@1099257

    Hi I am ancountering the same problem with the 'heap space'.
    Is there any way I can find out what it is set to for my system? I dont believe its 32Mb and dont want to increase it randomly to too large a size if theres no need for it.
    Thanks,
    Bobby

  • Java.lang.OutOfMemoryError: Java heap space

    I am writing an application in struts for file downloading from the database. I am using struts 1.1 with tomcat5.0 server. File downloading is working fine for images of smaller sizes( i checked utpo 3mb of size). my application should download the files with a maximum 1gb size. But when I tried to download the image of 85mb, "out of memory" exception is thrown" and this is the complete trace of that exception...
    Oct 19, 2006 4:11:35 PM org.apache.struts.actions.DispatchAction dispatchMethod
    SEVERE: Dispatch[pages/DoctorModule/medicalrecord/frame/referencedoc] to method getReportFormat returned an exception
    java.lang.reflect.InvocationTargetException
         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.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
         at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:480)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1420)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:520)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.OutOfMemoryError: Java heap space
    Oct 19, 2006 4:11:35 PM org.apache.struts.action.RequestProcessor processException
    WARNING: Unhandled Exception thrown: class java.lang.IllegalStateException
    I checked using downloading action example from struts1.2.6, even thats giving the same out of memory exception. Any how my application uses only 1.1. so Please give me some solution for this exception..

    Finally, the problem was :
        jstring str;
        for(int i = 0; i < xxx.GetSize(); i++){
            CString cstr = xxx.GetAt(i);
            str =  env->NewStringUTF(cstr.GetBuffer(0));
            env->SetObjectArrayElement(secondParam, i, str);
            /* release memory */
            env->DeleteLocalRef(counterUIName);
        }The "DeleteLocalRef(counterUIName);" should be made for each iteration.
    Thanks,
    Alex..

  • Recon task fails with Java heap space error

    Hi All,
    I have this annoying issue at the moment where a custom recon task will start, process a few users, and then end up with a java heap space error. The app server will then restart after a few minutes and run into the same problem and bomb out while continuing to fill the log file.
    This has only just started and nothing has changed in our environment so it baffles me as to why it has started. The recon task uses some code to do a lookup and then adds the users to certain groups.
    Error from log:
    10/12/12 17:41:03 Target Class = uob.oim.adapters.AddGroup
    DEBUG,12 Dec 2010 17:41:03,704,[UBOIM],AddGroup:107:addGroup(BR20, SCHOOLS, EMPOWER)
    10/12/12 17:41:03 Looking up
    DEBUG,12 Dec 2010 17:41:03,704,[UBOIM],OIMConnection::getThorUtility(tcLookupOperationsIntf)
    10/12/12 17:55:31 Running GETLOOKUP
    10/12/12 17:55:31 Target Class = uob.oim.adapters.AddGroup
    DEBUG,12 Dec 2010 17:55:31,351,[UBOIM],AddGroup:109:addGroup(MTH, CAMPUSES, EMPOWER)
    10/12/12 17:55:31 Looking up
    DEBUG,12 Dec 2010 17:55:31,351,[UBOIM],OIMConnection::getThorUtility(tcLookupOperationsIntf)
    ERROR,12 Dec 2010 18:01:18,108,[XELLERATE.DATABASE],Class/Method: tcDataBase/readPartialStatement encounter some problems: Java heap space
    java.lang.OutOfMemoryError: Java heap space
    APP SERVER RESTARTS...
    Then falls over again:
    10/12/12 18:12:26 Running GETLOOKUP
    10/12/12 18:12:26 Target Class = uob.oim.adapters.AddGroup
    DEBUG,12 Dec 2010 18:12:26,610,[UBOIM],AddGroup:119:addGroup(MTH, CAMPUSES, EMPOWER)
    10/12/12 18:12:26 Looking up
    DEBUG,12 Dec 2010 18:12:26,610,[UBOIM],OIMConnection::getThorUtility(tcLookupOperationsIntf)
    10/12/12 18:13:11 Running GETLOOKUP
    10/12/12 18:13:11 Target Class = uob.oim.adapters.AddGroup
    DEBUG,12 Dec 2010 18:13:11,546,[UBOIM],AddGroup:107:addGroup(S&P, PORTFOLIOS, EMPOWER)
    10/12/12 18:13:11 Looking up
    DEBUG,12 Dec 2010 18:13:11,547,[UBOIM],OIMConnection::getThorUtility(tcLookupOperationsIntf)
    ERROR,12 Dec 2010 18:15:52,318,[XELLERATE.DATABASE],Class/Method: tcDataBase/readPartialStatement encounter some problems: Java heap space
    java.lang.OutOfMemoryError: Java heap space
    ERROR,12 Dec 2010 18:15:52,324,[XELLERATE.SERVER],Class/Method: tcKeylessDataObj/runInitialSelect encounter some problems: Data Access Error
    com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
         at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcKeylessDataObj.runInitialSelect(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.initialize(Unknown Source)
         at com.thortech.xl.dataobj.tcOSI.initialize(Unknown Source)
         at com.thortech.xl.dataobj.tcOSI.<init>(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.initialize(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.<init>(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.checkChildren(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.insertResponseMilestones(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.eventPostUpdate(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.updateProcessData(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.linkToProcess(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.applyActionRules(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.checkDataSorted(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.eventPostUpdate(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.finishDataReceived(Unknown Source)
         at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
         at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.RunAsInterceptor.invoke(RunAsInterceptor.java:31)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.MessageDrivenConsumer.onMessage(MessageDrivenConsumer.java:347)
         at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:233)
         at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Data AccessException:
    com.thortech.xl.orb.dataaccess.tcDataAccessException: RESULT_TOO_LARGE_FOR_SERVERDetail: (none)Description: RESULT_TOO_LARGE_FOR_SERVERSQL State: Vendor Code: -1Additional Debug Info:com.thortech.xl.orb.dataaccess.tcDataAccessException
         at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown Source)
         at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
         at com.thortech.xl.dataobj.tcKeylessDataObj.runInitialSelect(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.initialize(Unknown Source)
         at com.thortech.xl.dataobj.tcOSI.initialize(Unknown Source)
         at com.thortech.xl.dataobj.tcOSI.<init>(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.initialize(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.<init>(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.checkChildren(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.insertResponseMilestones(Unknown Source)
         at com.thortech.xl.dataobj.tcScheduleItem.eventPostUpdate(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.updateProcessData(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.linkToProcess(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.applyActionRules(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.checkDataSorted(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.eventPostUpdate(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcRCE.finishDataReceived(Unknown Source)
         at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.finishReconciliationEvent(Unknown Source)
         at com.thortech.xl.schedule.jms.reconOffline.ProcessOfflineReconMessages.execute(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.processMessage(Unknown Source)
         at com.thortech.xl.schedule.jms.messagehandler.ReconMessageHandlerMDB.onMessage(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.RunAsInterceptor.invoke(RunAsInterceptor.java:31)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.MessageDrivenConsumer.onMessage(MessageDrivenConsumer.java:347)
         at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:233)
         at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    What can I check/change given that this has happened out of no where. Only fix at the moment is to stop and start app server, but seems to fall over again on the same recon task.

    Error is just related to memory. Why don't you increase memory in your environment ?

  • Dbca errors out with java.lang.OutOfMemoryError: Java heap space

    hi gurus
    I am trying to use DBCA to create a 10.2.0.4 database on a HP platform.DBCA hangs at the step 6 and following message can be seen in the
    trace.log:
    java.lang.OutOfMemoryError: Java heap space
    I googled and modified the DBCA scripts content from
    # Run DBCA
    $JRE_DIR/bin/java -Dsun.java2d.font.DisableAlgorithmicStyles=true -DORACLE_HOME=$OH -DDISPLAY=$DISPLAY -DJDBC_PROTOCOL=thin -mx128m
    -classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
    to
    # Run DBCA
    $JRE_DIR/bin/java -Dsun.java2d.font.DisableAlgorithmicStyles=true -DORACLE_HOME=$OH -DDISPLAY=$DISPLAY -DJDBC_PROTOCOL=thin -mx256m
    -classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
    and rerun the DBCA and the problem still there.
    How to solve this problem?
    Thanks !
    Edited by: KevinMao on Mar 31, 2010 2:39 AM
    Edited by: KevinMao on Mar 31, 2010 2:42 AM

    hi gurus
    The problem has sovled.I supplyed the wrong file for the rawfile.conf,everything was fine after I provided the corrent one.
    Thanks for your time.

  • Flash Builder 4.5 Java Heap Space Error

    Hello everyone,
    I've downloaded Flash Builder 4.5 trial a few days ago. Let me first tell that I like the new features a lot and they help to speed up the development process noticably. I thank Adobe for that very much.
    However I did not notice any performance boost over the Flash Buidler 4. Even worse, the 4.5 version seems to run much slower and use more memory than Flash Builder 4. I constantly keep getting Java Heap Space errors and needles to say, the tool just crashes and I have to restart it.
    Here how my experience working with the new version looks like. I start the Flash Builder 4.5 which has my current project open (for the record, I still use Flex 4.1, and the project includes roughly 300+ classes and 30000+ lines of code (AS and MXML)). At the beggining everything works fine and pretty fast. UI, code completion, snippets and all other good stuff works pretty fast. However, after each build, FlashBuilder.exe process eats up from 50 to 100 megabytes of memory and does not seem to release it or reuse it. So after a 5 or 10 builds it already appears to be using over 1 GB of RAM. At that point the editor becomes sloppy - it can't keep up with my typing, code completion popups takes a few seconds to show up. And a few more builds - the Flash Builder freezes and after a minute or two I get Java Heap Space error.
    I've tried increased the JRE heap space used by the Flash Builder (flashbuilder.ini, flashbuilderc.ini, eclipse.ini) to -Xms512m -Xmx1024m as well as permanent generation heap space to -XX:MaxPermSize=512m -XX:PermSize=256m and the mxml compiler (jvm.config) to -Xms384m -Xmx768m. However this did not solve the problem. Maybe just postponed it a bit.
    Am I the only one observing such behaviour of Flash Builder 4.5? Does any one have any other ideas how to fix this? (by the way, I work on 64bit machine with Widnows Server 2008R2, 4GB of RAM and 2.66 GHz Intel Core 2 Duo).
    Thanks in advance.
    Michael

    I'm seeing nearly the same thing.  I also have a very large set of projects similar to what you are describing and I do have Java Heap Space errors (The details show an error of "java.lang.OutOfMemoryError: unable to create new native thread" occurring for me)
    I had similar issues, although they are more frequent in the 4.5 builder, in the 4.1 builder.  In 4.1 builder, I didn't get the exact same detailed error regarding threads.
    I did install my flash builder into a clean instance of eclipse 3.6.2 vs using the standalone install.  That shouldn't make a difference though.  In 4.1, I tried he standalone install and saw the same issues I saw in the plugin version.
    I'm also using the 4.1 SDK in Flash Builder 4.5 (It appears that is what you are doing).  I've been attributing the crashes to the following bug in the 4.1 SDK, although I have applied the files in the bug report and still have the problem.  I'm hoping when I'm able to switch to the 4.5 SDK it may help.  (I can't switch yet because from what I can tell, it requires 10.2 Flash Player and my company is currently only on 10.0)
    The Bug Report I'm referring to is: https://bugs.adobe.com/jira/browse/SDK-26366
    I've bumped up all of the memory settings you've referred to and it helps the environment run longer, but it still eventually crashes.  One thing I definately do is make sure that the "Build Automatically" is unchecked.
    The machine I'm running on is an Intel 2600K with 16GB of memory running Windows 7 64-bit, so I don't think hardware is the issue.
    No real answer, but your not alone in having similar issues.
    Jon

  • Crash and Java Heap Space

    Hi Everybody, since Yesterday, my Flash Builder 4 has a lot of crashes with the message "Java Heap Space". I tried changing FlashBuilder.ini file to:
    -Xms384m
    -Xmx1024m
    I changed also jvm.config in my /bin subfolder of my SDK to:
    java.args=-Xms384m -Xmx1024m -Dsun.io.useCanonCaches=false
    But nothing happened... I tried also removing and re-installing the builder with no success.
    I have Windows XP Professional 32-bit with 3GB RAM
    I have also a big .log file, if someone wants to see it, I can send it immediately...
    Thanks !!!
    Davide

    Now, afther changing the configuration parameters, Flash Builder uses 1,2 GB RAM and the whole CPU... but the project, when exported to release build, is more or less 3,5MB... What's the problem??? I tried uninstalling and installing again this morning...

Maybe you are looking for

  • Can someone answer a few questions ? I really need help .

    My 30 Gig ipod Video has been working fine and today I pluged in my ipod to upload some more songs and this poped up and It deleted everything on my ipod i don't know what this means or why it even poped up . Songs on the iPod"Kevin W Mills's iPod" C

  • Can't connect to LAN when booting MBP from external drive?

    In an effort to always work in my computer environment, I backup my Mac Pro main drive to an external firewire drive, plug in to my new Macbook Pro 2.9 and option start off this drive. Result is I'm working off the last backup of my main Mac Pro driv

  • Java.sql.Types.??????

    I know clob columns in an oracle database are java.sql.Types.CLOB. What are long raw columns defined as java.sql.Types.??? Thanks in advance, kmw

  • Clear parameters at a selection screen

    Hi I've a report with three parameters, but when i change one of them the value of last doesn't desappear. I try with clean [others values of parameters], but doesn't work. Can help me ? Thanks

  • Lightroom & Adobe Elements Metadata

    Hi, I have catalogued over 20,000 photos using Adobe Elements. I have written extensive descriptions in the Notes field  Information>General>Notes. I have now started to use Lightroom but the Notes field in Elements does not show up anywhere in the L