OC4J memory setting

I am testing Java uploadbean, which used to upload files (>200 MB) to Oracle 9iAS database, on our development server, win2k, 1G RAM + 4G Virtual Memory. The uploadbean tested ok on stand along OC4J with java option set upto 640 MB, but got java.outofmemory error on Dev with -Xsx128mb -Xmx256mb. Oracle Enterprise Manager's memory usage pie chart indicates that 800 MB of 1G RAM are used by other programs and only 200 MB can be used for application server. Where and how can I increase the memory allocation to the application server?
Thanks
Jim

I am testing Java uploadbean, which used to upload files (>200 MB) to Oracle 9iAS database, on our development server, win2k, 1G RAM + 4G Virtual Memory. The uploadbean tested ok on stand along OC4J with java option set upto 640 MB, but got java.outofmemory error on Dev with -Xsx128mb -Xmx256mb. Oracle Enterprise Manager's memory usage pie chart indicates that 800 MB of 1G RAM are used by other programs and only 200 MB can be used for application server. Where and how can I increase the memory allocation to the application server?
Thanks
Jim

Similar Messages

  • Memory setting for weblogic startup file in windows xp

    Hi,
    I want to change memory setting parameters for weblogic server 8.1 because I am using 128MB memory only.
    I found some information edit the startWeblogic.cmd file and change the memory parameters with - x option.
    but practically I didn't find the -x option in that file. Please tell me how can I change the memory parameters for weblogic server.
    Sorry, I dont know whether it is related to this forum or not.
    Regards,
    sivaram

    How can I change the memory of an instance or an instance in weblogic ?
    Please Help
    Thank you

  • SQL Developer 3.0/3.1 64 Bit Memory Setting

    Hi,
    To avoid hitting memory setting issues with SQL Dev 3.0/3.1 64 bit clients, you can make the following changes:
    1) Close SQL Developer
    2) Locate the sqldeveloper.conf file
    Found in directory:
    C:\<SQLDeveloper32\sqldeveloper\sqldeveloper\bin
    3) Change the following line
    Before:
    AddVMOption -XX:MaxPermSize=128M
    After:
    AddVMOption -XX:MaxPermSize=256M
    4) Launch SQL Developer
    A memory issue of this sort will generally result in non-responsive UI behavior.
    You can verify that you are hitting this issue by launching the console window version of SQL Developer and checking for memory exceptions.
    C:\SQLDeveloper30-64RTMPatch1\sqldeveloper\sqldeveloper\bin\sqldeveloper.exe
    A bug has been filed change this setting.
    Thanks, Mark

    SQL Developer itself will work with a 64-bit JDK. It is possible that the data modeler still requires a 32-bit JDK.
    You may get better answers in the dedicated Data Modeller forum.

  • How to see memory setting of a managed server

    Hello,
    Can anybody explain me how to see Memory settings of a managed server instance in weblogic server using unix box
    Thanks
    Ravi

    Hi,
    The memory setting on the WC_Spaces managed servers can be seen as mentioned below.
    ps -eaf | grep Spaces
    Above command shows something like this at the top of the output:
    /a01/app/oraweb/middle/jrrt-3.1.2-1.6.0/bin/java -jrockit -Xms512m -Xmx1024m -Dweblogic.Name=WC_Spaces1 ...
    Regards
    Sreedhar

  • ST04 Memory Setting

    Hi Experts,
    We have install SAP on Win 2003 Enterprise Server and SQL Server 2000. In ST04 Transaction Code i am able to see Memory setting is AUTO. This is a central System and such kind of setup the memory setting should be FIXED so that SAP and SQL will not fight for memory and this is also recommended by SAP also. Could you please tell me how to change from AUTO to FIXED.
    Thanks & Regards,
    Krushna Biswal

    Hello,
    you can switch to "fixed" if you set the values for
    max server memory
    min server memory
    to the same value. You can do this by either running a script like this
    exec sp_configure 'max server memory',<Target Size in MB>
    exec sp_configure 'min server memory',<The same value>
    or by using the enterprise manager. Right click onto the server and choose
    properties. On the memory tab use the option 'Use a fixed memory size (MB)'
    and use the slider to define the value.
    You do not have to restart the SQL Server for this. He will adjust the values on the fly.
    Expect a delay for the refresh in ST04.
    Regards
      Clas

  • What is the best heap memory setting for JBoss?

    I am running a Windows 2003 server and JBoss is running as service.  The current heap configurations is 1024, but I am having some problems with the service failing.  What is the optimal heap memory setting?  Thank you,

    There is no optimal memory setting for LiveCycle.
    It depends on the components you have chosen to deploy.  If Content Services ES2 is deployed, your heap size settings should be about 2 GB, otherwise 1.0 - 1.7 GB might suffice.
    http://blogs.adobe.com/livecycle/2010/01/optimal_livecycle_es2_jboss_ru.html

  • How to minimize OC4J memory footprint?

    We use Oracle 9iAS R2 on a Windows 2K server with dual Xenons and 2 GB physical RAM as an integration server. There the various developers all have differenct OC4Js set up for testing. Now an Oracle rep once told us that many OC4Js within an iAS instance are no big deal because an OC4J had a memory footprint of about 3 MB RAM.
    That sounded too good to be true. And in our case, is isn't true - an OC4J takes up about 50 MB of RAM right after its start. I tried to minimize the Java heap through the OC4J server attbributes in Oracle Enterprise Manager (like "-Xms16") but that didn't make an ounce of a difference.
    So what's the memory footprint of an OC4J inside an iAS instance? And can I reduce it somehow?

    This must be a marketing gag. Client Swing Apps tend to consume more than 3MB.
    I'm not sure but I guess the iAS is the memory eater. We currently have a test installation on a Solaris machine and the iAS pages up to 3GB when accessing the enterprise manager web site. Have a look into the performance guide and try to switch off all unecessary things. Note that there are to different VM switches: -Xms configures the initial heap size a VM should have (growing is expensive) be whereas -Xmx configures the max size the heap can grow (wheares 64MB is default). Again the documenation says that 2MB is then min (not much availabe for OC4J).
    I've you found it - please tell me! :-)

  • 865PE NEO2 need help on findout how to get the memory set to dual and a bit of overclocking

    hello everyone all`s it is i need some advice how to find out that my motherboard is set right and my memory is set to dual. at the moment i have my memory 3200 512ram in DIMM 1 A and in DIMM 3 B can anyone tell me if this is right for my motherboard (865PE NEO2 ) and can anyone tell me the best setting to have to overclock my system at the moment i have 2.5 proccesor overclocked to 2.7.

    Your memory is in the correct location for Dual Channel.
    Btw, providing us your full system and PSU specs will be better for us to give you directions.

  • SAP Memory, Set and Get parameter

    Hi All,
         I am running two programs in background from program1
    Eq: Program1 --> Calls 2 programs
                              Program1_01.(First Program)
                              Program2_01(Second Program).
    Programs1 schedules Program1_01 and Program1_02 in background. These two programs are interdependent.
    Program1_01 extracts data, evaluates and sets the Flag. This Flag is exported to SAP Memory using
    Set parameter id 'p_id_flag' field Flag.
    Program1_02 checks for Program1_01 is completed in background. If complted gets the Flag value from SAP Memory using "Get paramter id 'p_id_flag' field Flag.
    When i checked this is not happning. When saw Flag in Program1_01 is set as Flag = 'X'.
    When I came and checked in Program1_02 after Get Parameter statement Falg value is SPACE.
    Cn hlp on this?

    Hi,
    The problem simply lies in fact that pid was provided in lowercase.
    Use:
    SET PARAMETER ID 'P_ID_FLAG' FIELD flag.
    GET PARAMETER ID 'P_ID_FLAG' FIELD flag.
    It works fine then.
    Note!
    Though SAP claims it is mandatory to create pid in TPARA table, in fact this is not required. Each time SET PARAMETER is executed, system checks if data object P_ID_FLAG was defined in SAP memory. If not it will automatically create it for us. But be carefull here. If there is such data object, its value will be overwritten.
    As for your last question, your statement (FREE MEMORY ....) is ok.
    Regards
    Marcin
    Edited by: Marcin Pciak on Jan 22, 2009 1:14 PM

  • OPMN vs Standalone OC4j (memory leak)

    I run the same servlet application using standalone OC4J instance on solaris without any problem.
    Trying to run the same application deployed in oracle enterprise (opmn) console causes memory leak. I see a lot of new classes allocated on each servlet invocation related to oracle.xml.* package and org.apache.axis.* (servlet uses axis to download attachment).
    Did anybody see similar issues. Any thought are welcome.
    thanks
    Roman

    To answer myself in case somebody was interested how to resolve this issue :
    Using different xml parser (for ex. crimson, but most likely any other would be fine too) eleminated the problem.
    i.e. adding the followning java system property
    -Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.SAXParserFactoryImpl

  • Can Memory Setting be made in LR, similar to Scratch disks in Photoshop ?

    System Settings in LR are as follows:   CAn these be Adjusted and HOW ?
    Lightroom version: 2.7
    Operating system: Microsoft Windows XP Home Edition Service Pack 3 (Build 2600)
    Version: 5.1
    Application architecture: x86
    System architecture: x86
    Physical processor count: 2
    Processor speed: 2.1 GHz
    Built-in memory: 3326.1 MB
    Real memory available to Lightroom: 716.8 MB
    Real memory used by Lightroom: 473.1 MB (66.0%)
    Virtual memory used by Lightroom: 481.8 MB

    There is no scratch disk for Lr but you can set the cache size in >Edit >Preferences >File Handling tab - see screen shot.
    As you can see I have set mine to 75 GB; Adobe recommends 25 GB, although the Lr default is 1 GB.

  • How i can increase the OC4J memory ?

    hi
    thank you for reading my post
    how i can increase memory of OC4J which make it not to show these messages :
       Gen space                                                                      
    06/09/11 14:45:38 java.lang.OutOfMemoryError: PermGen space                    
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurre
    d dispatching signal UNKNOWN to handler- the VM may need to be forcibly terminat
    ed                                                                             
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurre
    d dispatching signal UNKNOWN to handler- the VM may need to be forcibly terminat
    ed                                                                              Thanks

    Hi,
    PermGen space implies the perm space allocated is not sufficient, not the heap space. Please add the following to the command line -XX:MaxPermSize=128M.
    Hope that helps!
    --Sindhu                                                                                                                                                                                                                                                                                                                                                                                           

  • Application cannot be accessed if we increase the OC4J memory

    Hi friends,
    we have made about 4 application and deployed each on oc4j server, all running at same time. The problem is that after some time OC4J shows error message java.lang.outofmemory. We tried to increase the memory usage by using
    java -Xms512m -Xmx512m -jar oc4j.jar
    but now the applications are not accessible
    Plz help

    Hi Kenton
    Thanks for the reply. as earlier i was using oc4j server. Now i have downloaded oracle application server 10.1.2., but now i am not able to make connection to application server. I have installed only the j2ee container and oc4j server in application server.
    can you tell me how to do that?
    do we need to configer AS before we make connection
    what is rmi url and username password? Is it necessary for making connection
    This is the error message
    HTTP connection failure: unknown port number or missing HTTP listener

  • OC4J memory error for substantial app

    In loading a substantial BC4J driven application on OC4J I receive :
    500 Internal Server Error
    java.lang.OutOfMemoryError
    at oracle.xml.parser.v2.XMLReader.setEncoding(XMLReader.java, Compiled Code)
    at oracle.xml.parser.v2.XMLCharReader.<init>(XMLCharReader.java, Compiled Code)
    at oracle.xml.parser.v2.XMLReader.setEncoding(XMLReader.java, Compiled Code)
    at oracle.xml.parser.v2.XMLReader.checkXMLDecl(XMLReader.java, Compiled Code)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java, Compiled Code)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java, Compiled Code)
    at oracle.jbo.server.MetaObjectManager.loadLazyObject(MetaObjectManager.java, Compiled Code)
    at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java, Compiled Code)
    at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java, Compiled Code)
    at oracle.jbo.server.ApplicationModuleImpl.createViewObject(ApplicationModuleImpl.java, Compiled Code)
    at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java, Compiled Code)
    at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:263)
    at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:85)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.createNewInstance(ApplicationPoolImpl.java, Compiled Code)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.checkout(ApplicationPoolImpl.java, Compiled Code)
    at oracle.jbo.html.jsp.JSPApplicationRegistry.internalGetAppModuleInstance(JSPApplicationRegistry.java:463)
    at oracle.jbo.html.jsp.JSPApplicationRegistry.getAppModuleInstance(JSPApplicationRegistry.java:377)
    at oracle.jdeveloper.html.DataWebBeanImpl.internalInitialize(DataWebBeanImpl.java:404)
    at oracle.jdeveloper.html.WebBeanImpl.initialize(WebBeanImpl.java:56)
    at oracle.jdeveloper.html.DataWebBeanImpl.initialize(DataWebBeanImpl.java:360)
    at oracle.jdeveloper.html.DataWebBeanImpl.initialize(DataWebBeanImpl.java:391)
    at /fast/forum/jsp/forum_top.jsp._jspService(/fast/forum/jsp/forum_top.jsp.java:109) (JSP page line 53)
    at com.orionserver[Oracle9iAS (1.0.2.2) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:54)
    at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.HttpApplication.serviceJSP(HttpApplication.java:5458)
    at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.JSPServlet.service(JSPServlet.java:31)
    at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java, Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:170)
    at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java, Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java, Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java, Compiled Code)
    There is plenty of server memory free, which means I need to boost the footprint of the OC4J server I think. Please confirm, and what swith would I use?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Mark Jumaga ([email protected]):
    Hello VKansal
    I consider it absurd that a billion dollar corporation such as Oracle has to rely on the oem purchase of the Orion product to save it's java ass. It consider it doubly absurd that the subsequent marketing push of said product can at once be so full of hype and so lacking in technical support as to be the mark of a corporation gone mad.
    Thankyou for your "Orion support" response to my problem, a problem completely ignored by The J2EE "team" at Oracle.
    Did you know that this OC4J is at once god's gift to J2EE deployment and also "early adopter technology" without support?
    Did you know that Oracle Marketing is pushing OC4J as an answer to the market leader BEA, and yet everywhere on this forum there are problems about deployment that are unanswered by tech support, answered with the "unsupported" tag line, or answered by links to documentation that is incorrect?
    Kinda makes you wonder if the 20 thousand dollar price tag to get the OEM'd Orion server in 9ias, which originally sold for 1500$ with better documentation from Orion, is a good purchase decision.
    NOT that my complete waste of time bashing out these details isn't A LOT of fun while I'm struggling to deliver production ready code under blazing time to market considerations! NO! I LOVE TO WASTE MY TIME, AND MY CLIENTS MONEY! THAT'S HOW WE'RE ALL SUCCESSFULL IN THIS BUSINESS, RIGHT?
    <HR></BLOCKQUOTE>
    Mark -
    Perhaps Oracle support doesn't want to here this, but the best information for OCJ4 is available either by scanning the mailing list at www.orionserver.com or looking at www.orionsupport.com - a site developed by users of Orion with no actual association with the vompany. I've been working with the app-server for over a year now and have certainly been frustrated at the lack of documentation - and of course Oracle hasn't improved it. Oracle should have spent much more time training their technical staff before giving it to the marketing chumps to run with. I believe that the move of Oracle and Orion is a good one from a technical perspective however - I am over the major bump in the Orion learning curve and I absolutely love the product - but I'm not sure that the Oracle staff are over that (what can be) tough first part of the curve. Hopefully they are all hunkered down with Karl and Magnus from Orion trying to learn all the required stuff.
    Cheers
    Ray

  • T61 upgrading to 4GB, need advise in 2 memory sets.

    Hi techs:
    I need for an experience memory person to advise me if the 2 sets of memory are the same in capacity, latency, voltage, etc.
    I have a T61 7658CTO and I need it to respond a little faster. The #2 link, I picked the link from this site:
    http://forums.lenovo.com/t5/T61-and-prior-T-series​-ThinkPad/Compatible-Memory-with-T61p/m-p/27153
    but unfortunately is out of stock, so I searched and found #1. I had read that in order to make it worthwhile, no all  latency will work. please advise me if they are the same. Thank you
    Mario
    1) DDR2 4GB PC5300 DUAL SO-DIMM PATRIOT PSD24G667SK
    http://www.frys.com/product/5247587#detailed
    2) G.SKILL 4GB (2 x 2GB) 200-Pin DDR2 SO-DIMM DDR2 667 (PC2 5300) Dual Channel Kit Laptop 
    http://www.newegg.com/Product/Product.aspx?Item=N8​2E16820231154
    Mario Martinez

    they are pretty much equivalent and both are fine for your laptop.
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

Maybe you are looking for