11g and ORA-04030 problems

We have a new Dell server, OS Windows 2003 Server Enterprise 32bit with 32GB or RAM in it. Right now 64bit is not available to us because of Vendor issues so I can't go down that road yet. I keep running into ORA-04030 errors whether I put in the /3GB /USERVA=2560 switches or not. I got the /USERVA setting from Oracle's Best Practices for Windows Servers Guide. This new server is our current test box so we can upgrade our main application to 11g. Our current production server is running 10g and is set up the exact same way as this one using the same application, just on 10g. The only difference is that on 11g I am using Automatic Memory Management, it is at 11.1.0.6 right now. I plan to bump it up to 11.1.0.7 soon though.
The problem happens when Oracle.exe uses memory up to the limit of the Memory_target setting, then it throws the ORA-04030 error. It is like the process is reaching the Memory_target and then not using the memory it has, it is trying to grab more from the OS. I have tried setting this target lower and higher with the same results. I have also tried with and without the /3gb switch, same results. Dell hasn't offered much information, they told me to try Large Page Support.
I am at a loss, any help would be appreciated.

Thanks for the suggestions so far. This is what I got back from my vendor. It is possibly due to an unpublished Bug 7330813 that has to do with Function Based Indexes. This bug is fixed in 11.2.
-Unpublished Bug 7330813 deails
CBO may incur high hard parse times (as compared to 10g) for queries involving
Tables with functional indexes.
This Fix complements the fix for unpublished bug 6194582.
Workaround:
Set "_replace_virtual_columns"=false;
I have set the above parameter so we will see if it helps. Keep in mind that Oracle says not to use this Initialization parameter unless told to do so by Oracle Support.

Similar Messages

  • ORA-03113 and ORA-03114 problems

    Hi,
    I'm experimenting Oracle8i. I'm installing 8.1.7 to RedHat Linux 7.0 out of box without recompiling the kernel. I set the SHMMAX to 0.5*258MB memory on the machine by echoing the number to /proc/sys/kernel/shmmax.
    I checked that the system meets the requirements of Oracle's Installation Guide except SEMOPM. The RedHat Linux 7.0 sets it to 32, but Oracle requires 100.
    I chose Oracle8i EE Typical Installation. The installation was ok to the point of running root.sh. Several syntax errors occur from root.sh. But they are minor syntax errors. I checked the code, regardless of errors, the scripts accomplished what it intends to do. The installation continued. I choose automatic configure Net8 when it ran Net8 Configuration Assistant and the Net8 Configuration was completed successful.
    When it started Oracle Database Configuration Assistant, it created a database. But when it initialized the database, error messages ORA-03114 and ORA-03113 appeared many times. Each time, I chose to ignore. The final message was "Database creation completed with warnings."
    After installation, I ran svrmgrl
    $svrmgrl
    SVRMGR> connect INTERNAL
    Connected.
    SVRMGR> startup
    ORA-03113 end-of-file on communication channel
    Checking the meaning of error messages, it says that if ORA-03113 occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server.
    During installation, I chose Local naming method. There are following files in $ORACLE_HOME/network/admin/
    listener.ora
    sqlnet.ora
    tnsnames.ora
    shrept.lst
    To my layman's eye, they looked ok. I can even telnet to the linux machine with database name, although I don't know how the machine has acquired the alias without any changes to /etc/named.conf nor any changes to any files in /var/named directory.
    Please tell me what is correctly installed Net8? or what went wrong and how I should fix the problem.
    Thanks,
    Wayne
    null

    I seem to have 8.1.7 creating a database with RH Linux 7.1 now. This was an important clue, since 7.1 hiccups 65% into the link phase of installation, thereby requiring the stubs patch to be run at that time, whereas 7.0 runs quite happily through the install & link without using the patch.
    HOWEVER... before invoking dbassist to create the database under 7.1, you apparently need to export ASSUME_LD_LIBRARY = 2.2.5, etc., again, as you would do for the first time installing under RH 7.0.
    null

  • ORA-04030 Problem.  out of process memory !

    I have to execute a big wrapped script with more than 100 packages. While running i get an error:
    ORA-04030: out of process memory when trying to allocate 702976 bytes (PLS non-lib hp,PAR.C:parchk:ptb)
    I tried to reduce the PGA but it didn't help.
    Urgently need your advices.
    Thank you in advance.

    See following thread: ORA-4030  out of process memory

  • Error BI Apps HR and Fin full load - ORA-04030: out of process memory......

    Hi Experts,
    I loaded HR it went well, but now I am trying to load both HR and Financial Full load. I am getting below issue for some DAC tasks:
    ORA-04030: out of process memory when trying to allocate 1049100 bytes (kxs-heap-w,kllcqgf:kllsltba)
    Environment:
    Source System:
    Win server 2008 - 2 GB RAM; EBS R12.1.1.
    Target System:
    Windows Server 2008 32 bit (with /3G, /PEA switches enabled) – 4 GB RAM; obiee 10g;biapps 7.9.6.2;dac 10.1.3.4.1;Informatica PC 8.6.1 Hotfix 11;Oracle DB 11.1.0.7.
    DAC Tasks that failed:
    TASK_GROUP_Extract_GLLinkageInformation
    SDE_ORA_GL_COGS_LinkageInformation_Extract
    SDE_ORA_GL_AP_LinkageInformation_Extract
    SDE_ORA_GL_AR_REV_LinkageInformation_Extract
    SDE_ORA_GL_PO_LinkageInformation_Extract
    All the above tasks are failing with above error.
    Below are the memory parameters for BI Apps database:
    SQL> show parameter target
    NAME TYPE VALUE
    archive_lag_target integer 0
    db_flashback_retention_target integer 1440
    fast_start_io_target integer 0
    fast_start_mttr_target integer 0
    memory_max_target big integer 820M
    memory_target big integer 820M
    pga_aggregate_target big integer 257374182
    sga_target big integer 0
    I also tested by increasing below parameters:
    memory_max_target 2G
    memory_target 2G
    pga_aggregate_target 1G
    sga_target 900M
    But it didn’t work, same errors.
    Please let me know how can I solve this issue. Thanks for your time.

    The below text is from doc id, I've picked solution part
    let me know updates
    =====Start======================
    Solution
    NON-ORACLE SOFTWARE STEPS
    1.If you have 4Gb or less of RAM, add more RAM to the 32-bit computer system (add another 4Gb or more, if possible).
    2.Enable the /3GB in the BOOT.INI, see note:
    Note 225349.1 Implementing Address Windowing Extensions (AWE) or VLM on Windows Platforms
    3.If using MS-Windows Enterprise Edition, enable Physical Address Extensions (PAE) by adding the /PAE switch to the BOOT.INI, see note Note 225349.1.
    NOTE: The Windows tool Perfmon should be used in ORA-4030 problems on Windows. Task Manager is not a reliable tool to investigate ORACLE.EXE process memory size.
    ORACLE SOFTWARE STEPS
    Steps for both Enterprise and non-Enterprise Editions of MS-Windows
    1.Check for excessive INACTIVE sessions:
    select sum(PGA_ALLOC_MEM) from v$process p, v$session s where p.addr = s.paddr and s.status = 'INACTIVE';
    If this query returns a large value (i.e. several hundred Megabytes or even greater that 1 Gigabyte), then it is recommended that you automate the cleanup of INACTIVE sessions. To see how this works, see notes;
    Note 151972.1 Dead Connection Detection (DCD) Explained
    Note 159978.1 How To Automate Disconnection of Idle Sessions
    Implement DCD & IDLE_TIME, by doing the following;
    Set SQLNET.EXPIRE_TIME = x (minutes) in the Server SQLNET.ORA file,
    Create a PROFILE with IDLE_TIME set, and assign it to users.
    If you find that the processes remain with status SNIPED, then you will need to implement removal of those processes as well, see note:
    Note 96170.1 Script for killing sniped sessions shadow processes
    For more information, see Note 601605.1 A discussion of Dead Connection Detection, Resource Limits, V$SESSION, V$PROCESS and OS processes
    2.Review Note 46001.1 and determine the pro's and con's of running ORASTACK against the ORACLE.EXE.
    If appropriate, shut down the database, and run the following command in an MS-DOS window:
    orastack oracle.exe 500000
    Re-start the database.
    Steps for Enterprise Editions of MS-Windows
    Determine if using AWE would fit your database needs. This allows the Buffer Cache component in the SGA to be relocated above the 4Gb memory footprint for the ORACLE.EXE process. Since this configuration requires a virtual memory window to map memory allocations above the 4Gb memory area, this option fits best with database requirements for a 1G and up sized Buffer Cache. It would not be efficient to have a 400M Buffer Cache above the 4Gb memory footprint and yet allocate a 1Gb virtual memory window to map to that memory.
    1.Decide on the size of the SGA, PGA requirements and AWE (default 1Gb), given 300Mb overhead for the ORACLE.EXE and the 3Gb memory limit (as per the BOOT.INI /3GB switch). Please note that the minimum AWE size depends on the number of CPU's, see note Note 225349.1.
    - Grant OracleService<SID> the 'Lock Pages in Memory' system privilege at the operating system level, see Note 225349.1.
    - If necessary, change the Address Windowing Extensions (AWE) size from the default 1Gb, see Note 225349.1.
    - Adjust any of the other SGA memory settings; SHARED_POOL_SIZE, LARGE_POOL_SIZE, JAVA_POOL_SIZE & STREAMS_POOL_SIZE.
    - Adjust the PGA memory setting, PGA_AGGREGATE_TARGET. NOTE: This is a target, so a decrease in this process will not directly affect the memory footprint of the ORACLE.EXE.
    - Unset SGA_TARGET and/or MEMORY_TARGET (11g).
    - Set USE_INDIRECT_DATA_BUFFERS=TRUE.
    - Unset DB_CACHE_SIZE. Set DB_BLOCK_BUFFERS to the desired size (this will use memory above the 4Gb range).
    2.Start the database.
    Steps for NON-Enterprise Editions of MS-Windows
    1.Decide on the size of the SGA and PGA, given 0.1Gb overhead for the ORACLE.EXE and the 3Gb memory limit (as per the BOOT.INI /3GB switch).
    2.Adjust the SGA_TARGET and/or MEMORY_TARGET (11g), or use explicit settings for the SGA components and eliminate auto-tuning. NOTE: Advantages of auto-tuning are often minimal on Windows 32-bit due to memory limit issues.
    3.Adjust the PGA memory setting, PGA_AGGREGATE_TARGET (optional on 11g). NOTE: This is a target, so a decrease in this process will not directly affect the memory footprint of the ORACLE.EXE.
    4.Start the database.

  • Problem:JDeveveloper 11g and JUnit Extension against a JDK 5 Project

    We've got a project that requires JDK 5, and would like to run our JUnit tests using the integrated JUnit Extension in Jdeveloper 11g.
    However, we are getting the following error: java.lang.UnsupportedClassVersionError: Bad version number in .class file
    Presumabily, this is because the JUnit classes are JDK 6, since the tests work if we switch our project to use JDK 6.
    Of course, the problem is: Our project requires JDK 5. =)
    Anyone have a workaround?
    Thanks,
    - Bill

    Hi,
    JDeveloper is on JDK 1.5, How can I configure it to be 1.4??
    I had the JDeveloper 10.1.3 also and it went ahead with some updates and now even that shows me that it's version is JDK 1.5
    The latest error I get from JDeveloper(From both 11g and 10.1.3) is here,
    Invoking loadjava on connection 'HR_CapRock_DEV' with arguments:
    -order -resolve -thin
    errors : class package1/mypackage/JavaStoredProc
    ORA-29521: referenced name java/lang/StringBuilder could not be found
    The following operations failed
    class package1/mypackage/JavaStoredProc: resolution
    oracle.aurora.server.tools.loadjava.ToolsException: Failures occurred during processing
         at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:863)
         at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:116)
         at oracle.jdeveloper.deploy.tools.OracleLoadjava.deploy(OracleLoadjava.java:46)
         at oracle.jdevimpl.deploy.OracleDeployer.deploy(OracleDeployer.java:97)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:473)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:360)
         at oracle.jdevimpl.deploy.StoredProcHandler.doDeploy(StoredProcHandler.java:284)
         at oracle.jdevimpl.deploy.StoredProcProfileDt$Action$1.run(StoredProcProfileDt.java:383)
    #### Deployment incomplete. #### Jun 18, 2007 10:17:31 AM
    *** Note ***
    One possibility for the deployment failure is that the target Database may not support JDK version 1.5. Updating your Project Properties compiler Source & Target to an earlier release could fix this problem.
    How can I either downgrade JDK on the compiler(JDeveloper) to be 1.4 or, How can I resolve the error,
    ORA-29521: referenced name java/lang/StringBuilder could not be found
    Thanks,
    Sujith

  • Ora-00600 problem with the kodpunp1 and kope2upic954 arguments

    hi everybody,
    i have a problem with ora-00600 error on a oracle 8.1.7.0.0 database on winxp.
    i've read about many ora-00600 problems but only few were with kodpunp1 and kope2upic954 arguments.
    In my trc files i found something like this:
    *** SESSION ID:(29.2808) 2006-02-08 11:05:33.177
    *** 2006-02-08 11:05:33.177
    ksedmp: internal or fatal error
    ORA-00600: internal error code, arguments: [kope2upic954], [], [], [], [], [], [], []
    Current SQL statement for this session:
    call p$insert_rules_details(:1 , :2 , :3, :4)
    *** 2006-02-08 11:06:48.400
    ksedmp: internal or fatal error
    ORA-00600: internal error code, arguments: [kodpunp1], [], [], [], [], [], [], []
    ORA-00600: internal error code, arguments: [kope2upic954], [], [], [], [], [], [], []
    Current SQL statement for this session:
    call p$insert_rules_details(:1 , :2 , :3, :4)
    " so this is happenning when calling this procedure (p$insert_rules_details ...this is my procedure, not some procedure owned by sys).
    if anyone can help me, pls reply. i've heard replies like: call oracle support, put a tar on metalink ..... i don't have metalink support so i appreciate real help ;)
    what to do for avoiding/fixing this error?
    tx

    in addtion, this procedure p$insert_rules_details does some inserts into 3 tables from my schema. The problem might be from the usage of an num_array in this procedure declared as table of number. When number of elements from this num_array excels 4096, then the procedure generates errors.....i believe, not very sure about that. Can that be true?
    by

  • Nested tables and memory usage (ORA-04030 error)

    Dear All,
    I have table with approximately 5,000,000 records
    and try to Bulk Collect part of it into nested table in PL/SQL, the code is bellow
    Declare
         Type TcardRec Is Record(
              serno Pls_Integer,
              numberx Char(16),
              caccserno Pls_Integer
         Type TcardList Is Table Of TcardRec;
         fcardInfo TcardList;
    Begin
    Select c.serno, substr(c.numberx,1,16), c.caccserno
    Bulk Collect Into fcardinfo
    From cardx c;
    End;
    After reading approx. 80% it fails with error
    ORA-04030: out of process memory when trying to allocate 16396 bytes (koh-kghu call ,pmucalm coll)
    I 2G memory, is it realy no enough?
    How can I tune memory usage for collection?
    How can I estimate the maximum size of the collection the will fit into memory?
    Thank you in advance for any help
    Artem

    Declare it as a cursor.
    Open the cursor.
    Use fetch bulk collect with the limit option in the loop.
    In your case, you could do like:
    Declare
    Cursor c1 is
    Select c.serno, substr(c.numberx,1,16), c.caccserno
    From cardx c;
    TcardList Is Table Of c1%rowtype;
    fcardInfo TcardList;
    Begin
    Open c1;
    Loop
    Fetch c1 Bulk Collect Into fcardInfo Limit 10000;
    Exit when c1%notfound;
    -- Do some processing here.
    End Loop;
    Close c1;
    End;
    I hope this helps.

  • Oracle 11g with cocoon.war and glassfish pdf problem?

    Hi all,
    I m install oracle 11g express on CentOS 5.6 OS, oracle apex listener 1.1.2.131.15
    glassfish v2 and cocoon 2.1.11 and connect glasfish with oracle apex and working fine
    Problem begin when I was build cocon xml and deploy cocoon.war on glassfish,
    adding fop_post on cocoon/fop_post (as describe on http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html) but pdf dont work!
    (I was setting all this steps on open suse 11.2-32 byte machine and ubuntu 8.04-32 byte and pdf work ok )
    Is there any idea whats happen whith this pdf error?
    Is problem with 64 byte some specific settings, with java jdk, cocoon, glassfish or something on oracle 11g apex ?
    Gordan
    Edited by: useruseruser on Jun 20, 2011 9:49 PM

    Udo wrote:
    Hi Gordon,
    what kind of error do you receive? And did you receive any error when building the cocoon.war with the 64bit Java? And which JDK are you using anyway?
    -Udo
    >Hi Gordon,
    what kind of error do you receive? And did you receive any error when building the cocoon.war with the 64bit Java? And which JDK are you using anyway?
    -Udo
    Hi Udo
    When I make export to pdf from report theres error Could not open file ///tmp/Report-1.pdf
    I was installing on OpenSuse 11.3 oracle 11g 64 based OS and oracle
    next I was download and unzip and build cocoon2.1.11 as bash build.sh war -- and in build folder theres make cocoon.war
    next I was download apex listener and from command line I was type java -jar apex.war
    next download and build glassfish v2 and this two war files I was deploy on server, and making username as describe
    in apex listener conf documentations, so apex working good over glassfish only cocoon cant create pdf
    giving me error Could not open file ///tmp/Report-1.pdf. and jdk is 1.6 26 64 byte
    error messages from open suse 11.3 64 byte on cocoon/fop_post>
    An error has occured
    org.apache.cocoon.ProcessingException: Unknown request object encountered named template : null
    Cocoon stacktrace[hide]
    Exception in StreamGenerator.generate()
    context://fop_post/sitemap.xmap - 17:32     <map:serialize type="xml">
    context://fop_post/sitemap.xmap - 13:33     <map:generate type="stream">
    Unable to get transformer handler for cocoon://fop_post/xsl
    context://fop_post/sitemap.xmap - 38:37     <map:serialize type="fo2pdf">
    context://fop_post/sitemap.xmap - 31:39     <map:transform>
    context://fop_post/sitemap.xmap - 30:38     <map:generate>
    context://sitemap.xmap - 1055:92     <map:mount>
    Java stacktrace[show]
    org.apache.cocoon.ProcessingException: Unknown request object encountered named template : null
         at org.apache.cocoon.generation.StreamGenerator.generate(StreamGenerator.java:122)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
         at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
         at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
         at org.apache.cocoon.components.xslt.TraxProcessor.sourceToSAX(TraxProcessor.java:306)
         at org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:241)
         at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:331)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:398)
         at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:718)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:501)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:453)
         at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode.invoke(SwitchSelectNode.java:104)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
         at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
         at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
         at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
         at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
         at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Java full stacktrace[show]
    org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://fop_post/xsl
         at <map:serialize type="fo2pdf"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:38:37
         at <map:transform> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:31:39
         at <map:generate> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:30:38
         at <map:mount> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/sitemap.xmap:1055:92
         at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:339)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:398)
         at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:718)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:501)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:453)
         at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode.invoke(SwitchSelectNode.java:104)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
         at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
         at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
         at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
         at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
         at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception when creating Transformer from cocoon://fop_post/xsl
         at org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:300)
         at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:331)
         ... 56 more
    Caused by: org.apache.cocoon.ProcessingException: Exception in StreamGenerator.generate()
         at <map:serialize type="xml"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:17:32
         at <map:generate type="stream"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:13:33
         at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:424)
         at org.apache.cocoon.components.xslt.TraxProcessor.sourceToSAX(TraxProcessor.java:306)
         at org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:241)
         ... 57 more
    Caused by: org.apache.cocoon.ProcessingException: Exception in StreamGenerator.generate()
         at <map:serialize type="xml"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:17:32
         at <map:generate type="stream"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:13:33
         at org.apache.cocoon.generation.StreamGenerator.generate(StreamGenerator.java:163)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
         at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
         at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
         ... 59 more
    Caused by: org.apache.cocoon.ProcessingException: Unknown request object encountered named template : null
         at org.apache.cocoon.generation.StreamGenerator.generate(StreamGenerator.java:122)
         ... 63 more
    The Apache Cocoon Project
    and other error from CentOS 64 byte same cocoon/fop_post >
    Resource not found
    org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: fop_post/
    <map:mount> - context://sitemap.xmap - 1055:92
    Cocoon stacktrace[hide]
    No pipeline matched request: fop_post/
    context://sitemap.xmap - 1055:92     <map:mount>
    Java stacktrace[show]
    org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: fop_post/
         at <map:mount> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/sitemap.xmap:1055:92
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:149)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
         at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
         at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
         at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
         at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    The Apache Cocoon Project
    All this steps above, I was making with open suse 32 byte, with oracle 32 byte 10g with
    apex listener, cocoon and glassfish and apex and pdf export working good.
    is there any idea, whats solution for 64 byte cocoon, apex listener oracle express pdf export?
    regards
    Gordan
    Edited by: useruseruser on Jun 23, 2011 9:09 AM

  • OBIA- Connection Problems ORA-00604 and ORA-02248

    Hi,
    i have an installation OBI Server, Presentation Services, and Scheduler on RH Linux 64Bit, Oracle 11 DB, OBI Admin on Win xp,
    in online mode when i try import from Database i got following errors:ORA-00604 and ORA-02248
    but i can Create ibots and i see with sqlplus the created ibots in the DB.
    have anyone an idea, why the scheduler can read and write in the DB, but i cant read via Admintool, i try to connect the same db)
    Thx

    can you connect from Windows box using SQLPLUS? yes i can connect
    are you using native connection in Admin tool or ODBC? I try to use Native (OCI) to connect the Oracle DB
    check the above to eliminate the connectivity issues.

  • ORA 04030 (QERHJ hash-joi,kllcqas:kllsltba)

    I'm on a Windows Server 32 bit EE with /PAE options.
    8 GB Ram
    dual Xeon E5440.
    Oracle DB 11.1.0.7 Standard
    Actual Memory usage (avail/total): 5.9 G/ 8 G
    oracle.exe mem usage : 1.1 G
    Total Memory Size: 2008 M
    Total SGA Size: 1312 M
    Shared Pool 776
    Buffer Cache 488
    Large Pool 8
    Java Pool 24
    Other 16
    Aggregate PGA Target (B) 0
    Current PGA Allocated (KB) 139411
    Maximum PGA Allocated (KB) 299016
    (since startup)
    Cache Hit Percentage (%) 95.98
    Automatic memory management set on
    Sort_area_size:65536 (I read that can be important)
    When I try to do the merge (via PL/SQL procedure) of >100000 record then the procedure fails and database raise an ora-04030 exception.
    ORA-04030: out of process memory when trying to allocate 246284 bytes (QERHJ hash-joi,kllcqas:kllsltba)
    Note that when I run the procedure the memory usage of oracle.exe grows just to 1.2 G. So it seems not a problem of memory consumption.
    What I have to change?

    trc file
    Dump file e:\oradata\setup\diag\rdbms\dtawre\dtawre\incident\incdir_63427\dtawre_ora_2260_i63427.trc
    Oracle Database 11g Release 11.1.0.7.0 - Production
    Windows NT Version V5.2 Service Pack 2
    CPU : 8 - type 586, 2 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:5278M/8189M, Ph+PgF:14123M/20250M, VA:38M/2047M
    Instance name: dtawre
    Redo thread mounted by this instance: 1
    Oracle process number: 107
    Windows thread id: 2260, image: ORACLE.EXE (SHAD)
    *** 2010-02-26 11:46:36.374
    *** SESSION ID:(74.2947) 2010-02-26 11:46:36.374
    *** CLIENT ID:([email protected]@Mozilla/4.0 (compatible; MSIE 6.0; Windows NT) 2010-02-26 11:46:36.374
    *** SERVICE NAME:(SYS$USERS) 2010-02-26 11:46:36.374
    *** MODULE NAME:(Admin Connection) 2010-02-26 11:46:36.374
    *** ACTION NAME:() 2010-02-26 11:46:36.374
    Dump continued from file: e:\oradata\setup\diag\rdbms\dtawre\dtawre\trace\dtawre_ora_2260.trc
    ORA-04030: out of process memory when trying to allocate 4194328 bytes (QERHJ hash-joi,QERHJ list array)
    *** 2010-02-26 11:46:36.389
    ========= Dump for incident 63427 (ORA 4030) ========
    *** 2010-02-26 11:46:36.389
    ----- Current SQL Statement for this session (sql_id=4d28t1mjpwrqp) -----
    select component, final_size, end_time from v$sga_resize_ops where initial_size <> final_size order by end_time
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    EnumerateLoadedModules64 failed with error 183
    skdstdst()+114      CALLrel  kgdsdst()+0 7A1C7FD8 2
    ksedst1()+88        CALLrel  skdstdst()+0 7A1C7FD8 0 1 45A3B0 45AD88
    45A3B0
    ksedst()+50         CALLrel  ksedst1()+0 0 1
    dbkedDefDump()+118  CALLrel  ksedst()+0 0
    7
    ksedmp()+36         CALLrel  dbkedDefDump()+0 3 2
    __PGOSF60__ksfdmp() CALLrel _ksedmp()+0          3EB
    +29
    _dbgexPhaseII()+225  CALLreg  00000000             72E1A0C0 3EB
    dbgexProcessError(  CALLrel  dbgexPhaseII()+0 D67043C D676E18 7A1CBB5C
    )+973
    dbgeExecuteForErro  CALLrel  dbgexProcessError( D67043C D676E18 1 0 D67043C
    r()+40 )+0 D676E18
    dbgePostErrorKGE()  CALLrel  dbgeExecuteForErro D67043C D676E18 0 1 0
    +1715 r()+0
    dbkePostKGEkgsf() CALLrel _dbgePostErrorKGE()  72E1A0C0 733A0020 FBE
    +49 +0
    _kgeade()+268        CALLreg  00000000             72E1A0C0 733A0020 FBE
    kgesev()+54         CALLrel  kgeade()+0 72E1A0C0 72E1A1E8 733A0020
    FBE 0 0
    kgesec3()+18        CALLrel  kgesev()+0 72E1A0C0 733A0020 FBE 3
    7A1CC2A4
    __VInfreq__kghfsh() CALLrel _kgesec3()+0         72E1A0C0 733A0020 FBE 0
    +1678 400018 0 1 E 74B25E84 1 10
    562D680
    kghalf()+889        CALLrel  kghnospc()+0 72E1A0C0 74B25E5C 400018
    562D680 0
    qerhjManageListEle  CALLrel  kghalf()+0 72E1A0C0 74B25E5C 40000C 0 0
    ment()+143 562D680
    qerhjadf()+69       CALLrel  qerhjManageListEle 7346CE80 7346CEE8 74B25E5C 1
    ment()+0
    qerhjBuildHashTabl  CALLrel  qerhjadf()+0 7A1CC498 7E3D0000 75B4B
    e()+775 7EBE0000
    __PGOSF504__qerhjIn CALLrel _qerhjBuildHashTabl  4D206CC8 7346CE80 7A1CC6A0
    nerProbeHashTable() e()+0
    +580
    _qerfxFetch()+845    CALLreg  00000000             7A1CC6A0 7FFF 392 434 0
    72E19CA0
    _rwsfcd()+109        CALLptr  00000000             4D2073B4 7346C9A0 24E22B8
    7A1CC6A0 7FFF
    _qerhjFetch()+484    CALLreg  00000000             4D206E78 7346CE50 24E22B8
    7A1CC6A0 7FFF 5EB33C5
    _qersoProcessULS()+  CALLptr  00000000             4D206CC8 7346CE80 2DEDAFC
    173 7A1CC778 7FFF
    qersoFetch()+1144   CALLrel  qersoProcessULS()+ 4D206644 7346D070 1A6CF0C
    0 7A1CC97C A
    _opifch2()+3479      CALLreg  00000000             4D206644 7346D070 1A6CF0C
    7A1CC97C A
    kpoal8()+3186       CALLrel  opifch2()+0 89 5 7A1CCD00
    _opiodr()+1299       CALLreg  00000000             5E 1C 7A1CF210
    _ttcpip()+2790       CALLreg  00000000             5E 1C 7A1CF210 0
    _opitsk()+1278       CALL???  00000000             72E24260 5E 7A1CF210 0
    7A1CEEA0 7A1CF334
    opiino()+1067       CALLrel  opitsk()+0 0 0
    _opiodr()+1299       CALLreg  00000000             3C 4 7A1CFC28
    opidrv()+1319       CALLrel  opiodr()+0 3C 4 7A1CFC28 0
    sou2o()+45          CALLrel  opidrv()+0 3C 4 7A1CFC28
    opimaireal()+130 CALLrel _sou2o()+0           7A1CFC1C 3C 4 7A1CFC28
    opimai()+92         CALLrel  opimai_real()+0 2 7A1CFC54
    OracleThreadStart@  CALLrel  opimai()+0 2 7A1CFF44 7C8897F4 7A1CFC34
    4()+792 0 7A1CFD04
    77E6482C CALLreg 00000000 79CCFF9C 0 0 79CCFF9C 0
    7A1CFFC4
    00000000 CALL??? 00000000
    --------------------- Binary Stack Dump ---------------------
    ========== FRAME [1] (_skdstdst()+114 -> _kgdsdst()+0) ==========
    defined by frame pointers 0x7a1c7fc4 and 0x7a1c7fb0
    normalized: skdstdst()+114 -> kgdsdst()+0
    CALL TYPE: CALLrel ERROR SIGNALED: no COMPONENT: (null)
    Dump of memory from 0x7A1C7FB0 to 0x7A1C7FC4
    7A1C7FB0 7A1C7FC4 0046BD83 7A1C7FD8 00000002 [...z..F....z....]
    7A1C7FC0 00000000 [....]
    --------------------------------------------------------------End------------------------------------------------------------------
    Strangely, the merge gives me error ORA-04030, while if I do a insert on the same fields with the same data it works correctly!

  • ORA 04030 Out of process memory error

    Dear experts,
    I know there are multiple discussions around this error and I have been reading through most of them in the past one week or so, but looks like we are running out of options or are missing the color altogether. Ok, we are getting ORA-04030 - out of process memory while allocating....while one of our batch process runs in the night. It simply tries to insert/update to a table. Our installation is 11.2.0.1.0 with no RAC configuration and on 64-bit AIX having 6 cores, 12 CPUs and 16 GB memory.
    We have checked the Workarea_Size_Policy is set to be as Auto so Oracle decides how much memory to allocate to PGA automatically on run-time based on the demand. And based on the AWR report it doesnt look like we are anywhere near the country having a PGA-deficit!! I am attaching the AWR report in a word document here for your reference.
    Also attached below are the configurations and the ulimit values.
    IKBTRN1> show parameter workarea;
    NAME                                 TYPE                             VALUE
    workarea_size_policy                 string                           AUTO
    oraipeikbtrn1:/home/oracle-> ulimit -a
    time(seconds)        unlimited
    file(blocks)         unlimited
    data(kbytes)         unlimited
    stack(kbytes)        4194304
    memory(kbytes)       unlimited
    coredump(blocks)     unlimited
    nofiles(descriptors) unlimited
    threads(per process) unlimited
    processes(per user)  unlimited
    Now, nothing seems to have contributed to the out of process memory issue from Oracle standpoint. I would be happy to be proved wrong here, if I am wrong.
    So, whats going wrong here? A possible memory leak which we cannot zero down to, a OS memory limit or something else?
    Seeking expert's advise on this, and also sincerely appreciate your time in looking at this.
    Thanks.
    P.S - I am pasting the whole AWR report since there is no 'upload file' option here that I can see.
    WORKLOAD REPOSITORY report for
    DB Name     DB Id     Instance     Inst num     Startup Time     Release     RAC
    IKBTRN1     54659199     IKBTRN1     1     06-Jun-11 02:06     11.2.0.1.0     NO
    Host Name     Platform     CPUs     Cores     Sockets     Memory (GB)
    oraipeikbtrn1.******.com     AIX-Based Systems (64-bit)     12     6          16.00
         Snap Id     Snap Time     Sessions     Cursors/Session
    Begin Snap:     5952     26-Aug-11 03:00:48     34     2.0
    End Snap:     5953     26-Aug-11 04:00:52     32     1.9
    Elapsed:          60.07 (mins)          
    DB Time:          1.93 (mins)          
    Report Summary
    Cache Sizes
         Begin     End          
    Buffer Cache:     1,056M     704M     Std Block Size:     8K
    Shared Pool Size:     3,456M     3,456M     Log Buffer:     7,184K
    Load Profile
    Load Profile
         Per Second     Per Transaction     Per Exec     Per Call
    DB Time(s):     0.0     2.0     0.02     0.02
    DB CPU(s):     0.0     0.5     0.00     0.00
    Redo size:     556.1     34,554.8          
    Logical reads:     151.4     9,407.6          
    Block changes:     1.9     119.8          
    Physical reads:     14.2     882.6          
    Physical writes:     9.5     590.4          
    User calls:     1.8     112.8          
    Parses:     1.5     93.7          
    Hard parses:     0.1     8.9          
    W/A MB processed:     -0.1     -6.9          
    Logons:     0.0     1.6          
    Executes:     1.9     115.4          
    Rollbacks:     0.0     0.0          
    Transactions:     0.0               
    Instance Efficiency Percentages (Target 100%)
    Buffer Nowait %:     100.00     Redo NoWait %:     100.00
    Buffer Hit %:     96.63     In-memory Sort %:     99.97
    Library Hit %:     95.68     Soft Parse %:     90.49
    Execute to Parse %:     18.74     Latch Hit %:     100.00
    Parse CPU to Parse Elapsd %:     57.23     % Non-Parse CPU:     86.28
    Shared Pool Statistics
         Begin     End
    Memory Usage %:     85.72     85.76
    % SQL with executions>1:     93.91     96.66
    % Memory for SQL w/exec>1:     89.07     87.04
    Top 5 Timed Foreground Events
    Event     Waits     Time(s)     Avg wait (ms)     % DB time     Wait Class
    DB CPU          29          24.66     
    db file scattered read     3,456     17     5     14.92     User I/O
    db file sequential read     4,304     17     4     14.77     User I/O
    direct path read temp     764     17     22     14.31     User I/O
    direct path write temp     259     5     21     4.70     User I/O
    Host CPU (CPUs: 12 Cores: 6 Sockets: )
    Load Average Begin     Load Average End     %User     %System     %WIO     %Idle
    1.39     1.37     0.2     0.2     0.2     99.6
    Instance CPU
    %Total CPU     %Busy CPU     %DB time waiting for CPU (Resource Manager)
    0.1     20.5     0.0
    Memory Statistics
         Begin     End
    Host Mem (MB):     16,384.0     16,384.0
    SGA use (MB):     4,704.0     4,352.0
    PGA use (MB):     196.1     188.4
    % Host Mem used for SGA+PGA:     29.91     27.71
    Main Report
    •     Report Summary
    •     Wait Events Statistics
    •     SQL Statistics
    •     Instance Activity Statistics
    •     IO Stats
    •     Buffer Pool Statistics
    •     Advisory Statistics
    •     Wait Statistics
    •     Undo Statistics
    •     Latch Statistics
    •     Segment Statistics
    •     Dictionary Cache Statistics
    •     Library Cache Statistics
    •     Memory Statistics
    •     Streams Statistics
    •     Resource Limit Statistics
    •     Shared Server Statistics
    •     init.ora Parameters
    Back to Top
    Wait Events Statistics
    •     Time Model Statistics
    •     Operating System Statistics
    •     Operating System Statistics - Detail
    •     Foreground Wait Class
    •     Foreground Wait Events
    •     Background Wait Events
    •     Wait Event Histogram
    •     Wait Event Histogram Detail (64 msec to 2 sec)
    •     Wait Event Histogram Detail (4 sec to 2 min)
    •     Wait Event Histogram Detail (4 min to 1 hr)
    •     Service Statistics
    •     Service Wait Class Stats
    Back to Top
    Time Model Statistics
    •     Total time in database user-calls (DB Time): 115.9s
    •     Statistics including the word "background" measure background process time, and so do not contribute to the DB time statistic
    •     Ordered by % or DB time desc, Statistic name
    Statistic Name     Time (s)     % of DB Time
    sql execute elapsed time     101.69     87.75
    DB CPU     28.58     24.66
    parse time elapsed     10.14     8.75
    hard parse elapsed time     9.92     8.56
    failed parse elapsed time     4.92     4.25
    hard parse (sharing criteria) elapsed time     4.27     3.68
    connection management call elapsed time     0.42     0.36
    PL/SQL compilation elapsed time     0.34     0.30
    PL/SQL execution elapsed time     0.18     0.15
    sequence load elapsed time     0.00     0.00
    repeated bind elapsed time     0.00     0.00
    DB time     115.88     
    background elapsed time     86.01     
    background cpu time     5.06     
    Back to Wait Events Statistics
    Back to Top
    Operating System Statistics
    •     *TIME statistic values are diffed. All others display actual values. End Value is displayed if different
    •     ordered by statistic type (CPU Use, Virtual Memory, Hardware Config), Name
    Statistic     Value     End Value
    NUM_LCPUS     0     
    NUM_VCPUS     0     
    AVG_BUSY_TIME     1,260     
    AVG_IDLE_TIME     360,705     
    AVG_IOWAIT_TIME     534     
    AVG_SYS_TIME     483     
    AVG_USER_TIME     679     
    BUSY_TIME     16,405     
    IDLE_TIME     4,329,811     
    IOWAIT_TIME     7,284     
    SYS_TIME     7,092     
    USER_TIME     9,313     
    LOAD     1     1
    OS_CPU_WAIT_TIME     503,900     
    PHYSICAL_MEMORY_BYTES     17,179,869,184     
    NUM_CPUS     12     
    NUM_CPU_CORES     6     
    GLOBAL_RECEIVE_SIZE_MAX     1,310,720     
    GLOBAL_SEND_SIZE_MAX     1,310,720     
    TCP_RECEIVE_SIZE_DEFAULT     16,384     
    TCP_RECEIVE_SIZE_MAX     9,223,372,036,854,775,807     
    TCP_RECEIVE_SIZE_MIN     4,096     
    TCP_SEND_SIZE_DEFAULT     16,384     
    TCP_SEND_SIZE_MAX     9,223,372,036,854,775,807     
    TCP_SEND_SIZE_MIN     4,096     
    Back to Wait Events Statistics
    Back to Top
    Operating System Statistics - Detail
    Snap Time     Load     %busy     %user     %sys     %idle     %iowait
    26-Aug 03:00:48     1.39                         
    26-Aug 04:00:52     1.37     0.38     0.21     0.16     99.62     0.17
    Back to Wait Events Statistics
    Back to Top
    Foreground Wait Class
    •     s - second, ms - millisecond - 1000th of a second
    •     ordered by wait time desc, waits desc
    •     %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
    •     Captured Time accounts for 78.2% of Total DB time 115.88 (s)
    •     Total FG Wait Time: 62.08 (s) DB CPU time: 28.58 (s)
    Wait Class     Waits     %Time -outs     Total Wait Time (s)     Avg wait (ms)     %DB time
    User I/O     8,949     0     56     6     48.74
    DB CPU               29          24.66
    System I/O     1,916     0     3     1     2.18
    Other     506     88     1     2     0.92
    Configuration     2     50     1     500     0.86
    Commit     37     0     1     18     0.56
    Application     20     0     0     17     0.29
    Network     4,792     0     0     0     0.01
    Concurrency     1     0     0     0     0.00
    Back to Wait Events Statistics
    Back to Top
    Foreground Wait Events
    •     s - second, ms - millisecond - 1000th of a second
    •     Only events with Total Wait Time (s) >= .001 are shown
    •     ordered by wait time desc, waits desc (idle events last)
    •     %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
    Event     Waits     %Time -outs     Total Wait Time (s)     Avg wait (ms)     Waits /txn     % DB time
    db file scattered read     3,456     0     17     5     59.59     14.92
    db file sequential read     4,304     0     17     4     74.21     14.77
    direct path read temp     764     0     17     22     13.17     14.31
    direct path write temp     259     0     5     21     4.47     4.70
    control file sequential read     1,916     0     3     1     33.03     2.18
    ADR block file read     38     0     1     28     0.66     0.92
    log buffer space     2     50     1     500     0.03     0.86
    log file sync     37     0     1     18     0.64     0.56
    enq: RO - fast object reuse     14     0     0     24     0.24     0.29
    local write wait     44     0     0     1     0.76     0.03
    SQL*Net message to client     4,772     0     0     0     82.28     0.01
    Disk file operations I/O     110     0     0     0     1.90     0.00
    ADR block file write     7     0     0     0     0.12     0.00
    SQL*Net message from client     4,773     0     15,396     3226     82.29     
    Streams AQ: waiting for messages in the queue     720     100     3,600     5000     12.41     
    Back to Wait Events Statistics
    Back to Top
    Background Wait Events
    •     ordered by wait time desc, waits desc (idle events last)
    •     Only events with Total Wait Time (s) >= .001 are shown
    •     %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
    Event     Waits     %Time -outs     Total Wait Time (s)     Avg wait (ms)     Waits /txn     % bg time
    control file sequential read     4,950     0     35     7     85.34     40.74
    control file parallel write     1,262     0     31     25     21.76     36.46
    log file parallel write     383     0     4     10     6.60     4.37
    db file parallel write     627     0     2     3     10.81     2.36
    change tracking file synchronous read     56     0     2     34     0.97     2.21
    os thread startup     17     0     1     88     0.29     1.74
    ADR block file read     135     0     1     7     2.33     1.04
    change tracking file synchronous write     56     0     1     15     0.97     0.98
    SGA: allocation forcing component growth     8     100     1     100     0.14     0.93
    db file sequential read     112     0     1     6     1.93     0.75
    process diagnostic dump     94     0     0     1     1.62     0.09
    ADR block file write     92     0     0     1     1.59     0.07
    LGWR wait for redo copy     11     0     0     1     0.19     0.01
    log file sync     2     0     0     3     0.03     0.01
    ADR file lock     92     22     0     0     1.59     0.01
    Parameter File I/O     24     0     0     0     0.41     0.01
    direct path write     6     0     0     1     0.10     0.00
    Disk file operations I/O     54     0     0     0     0.93     0.00
    rdbms ipc message     17,637     97     61,836     3506     304.09     
    Streams AQ: waiting for time management or cleanup tasks     5     60     11,053     2210602     0.09     
    DIAG idle wait     7,203     100     7,203     1000     124.19     
    PX Idle Wait     1,802     100     3,604     2000     31.07     
    pmon timer     1,212     99     3,603     2973     20.90     
    Space Manager: slave idle wait     726     99     3,603     4963     12.52     
    smon timer     12     100     3,600     300004     0.21     
    Streams AQ: qmn slave idle wait     128     0     3,583     27993     2.21     
    Streams AQ: qmn coordinator idle wait     256     50     3,583     13996     4.41     
    SQL*Net message from client     293     0     2     5     5.05     
    Back to Wait Events Statistics
    Back to Top
    Wait Event Histogram
    •     Units for Total Waits column: K is 1000, M is 1000000, G is 1000000000
    •     % of Waits: value of .0 indicates value was <.05%; value of null is truly 0
    •     % of Waits: column heading of <=1s is truly <1024ms, >1s is truly >=1024ms
    •     Ordered by Event (idle events last)
              % of Waits
    Event     Total Waits     <1ms     <2ms     <4ms     <8ms     <16ms     <32ms     <=1s     >1s
    ADR block file read     173     80.3     5.2     2.3     5.8     1.7          4.6     
    ADR block file write     99     96.0     3.0                    1.0          
    ADR file lock     102     100.0                                   
    Disk file operations I/O     165     100.0                                   
    LGWR wait for redo copy     11     90.9               9.1                    
    Parameter File I/O     24     100.0                                   
    SGA: allocation forcing component growth     8                                   100.0     
    SQL*Net break/reset to client     6     100.0                                   
    SQL*Net message to client     4992     100.0                                   
    SQL*Net more data from client     20     100.0                                   
    asynch descriptor resize     541     100.0                                   
    change tracking file synchronous read     56     83.9                         1.8     14.3     
    change tracking file synchronous write     56     80.4     7.1               1.8          10.7     
    control file parallel write     1262     80.3     1.7     .6     .6     .8     1.3     14.7     
    control file sequential read     6866     94.1     .9     .7     .7     .3     .4     2.9     
    db file parallel write     628     94.3     2.1     1.0     .8     .3     .3     1.3     
    db file scattered read     3457     72.6     7.2     5.4     6.9     5.7     .5     1.6     
    db file sequential read     4525     78.7     2.7     1.8     9.6     5.3     .4     1.5     
    direct path read temp     764     40.2     18.6     9.4     6.2     11.0     5.8     8.9     
    direct path sync     1     100.0                                   
    direct path write     6     83.3     16.7                              
    direct path write temp     259     .4          1.2     88.8          .4     9.3     
    enq: RO - fast object reuse     14     42.9     42.9          7.1               7.1     
    latch free     1     100.0                                   
    latch: cache buffers lru chain     2     100.0                                   
    latch: checkpoint queue latch     2     100.0                                   
    latch: messages     2     100.0                                   
    latch: object queue header operation     2     100.0                                   
    latch: redo allocation     1     100.0                                   
    latch: row cache objects     1     100.0                                   
    local write wait     44     100.0                                   
    log buffer space     2     50.0                              50.0     
    log file parallel write     383     92.4     .8          1.0               5.7     
    log file sync     39     82.1     2.6          2.6               12.8     
    os thread startup     17                                   100.0     
    process diagnostic dump     94     34.0     63.8     2.1                         
    reliable message     7     100.0                                   
    utl_file I/O     12     100.0                                   
    DIAG idle wait     7204                                   100.0     
    PX Idle Wait     1802                                        100.0
    SQL*Net message from client     5067     87.1     6.6     1.0     .5     .5     .1     .5     3.7
    Space Manager: slave idle wait     726     .6                                   99.4
    Streams AQ: qmn coordinator idle wait     256     49.2     .8                              50.0
    Streams AQ: qmn slave idle wait     128                                        100.0
    Streams AQ: waiting for messages in the queue     721                                        100.0
    Streams AQ: waiting for time management or cleanup tasks     5     40.0                              20.0     40.0
    class slave wait     17     100.0                                   
    pmon timer     1212     .9                                   99.1
    rdbms ipc message     17.6K     1.8     .4     .2     .2     .1     .1     21.0     76.2
    smon timer     12                                        100.0
    Back to Wait Events Statistics
    Back to Top
    I couldnt add the rest of the report here since it is telling me I have exceeded 30000 characters. If you want to see the full report, please email me at [email protected]

    Unless your database is strictly a DSS-type of database, your AWR report exposes loads of issues with it. And I think none of the time during the AWR window was spent on database. Look at the DB time (with all those multi cores) compared with the elapsed time of the AWR.
    As you are on 11g, why not make use of MEMORY_TARGET (a single parameter to manage both SGA and PGA)? If you are already on it, ignore this as I can't see it anywhere. If not, get rid of SGA_TARGET and PGA_AGGREGATE_TARGET and replace it with a single MEMORY_TARGET parameter. However you may have a minimum threshold set for different SGA pools so that they won't shrink beyond that point.
    Having said that, setting MEMORY_TARGET is not a guarantee to avoid ORA-4030. Just a single bad PL/SQL code could go and exploit the untunable part of your process memory and even go and blow up the physical memory. If you are using FORALL and BULK load, see if you can cut it down into few chunks rather than running as a single process.
    What does your V$PGASTAT say?

  • ORA-04030: out of process memory when using Java Stored Procedures

    Hello,
    I have a problem using Java Stored Procedures in Oracle 10g.
    My Java application performs http posts to a webservice and the response is parsed in order to populate some DB tables.
    There is a scheduled job which calls the Java Stored Procedure every x minutes.
    No matter of the 'x minutes' values - after about 160 - 200 calls I get this error:
    ORA-04030: out of process memory when trying to allocate 1048620 bytes (joxp heap,f:OldSpace)
    ORA-04030: out of process memory when trying to allocate 2097196 bytes (joxp heap,f:OldSpace)
    The job stops just while is posting the http request. The weird thing is that almost each time the first http post request I get this error:
    java.net.ConnectException: Connection refused
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:426)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(DashoA6275)
         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
         at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:130)
         at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
         at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
         at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    and the second try works fine.
    So, The out of process memory occured each time just before getting such an error, and I suspect to be a connection between these errors.
    Tech details:
    1. OS: WinXP
    2. Oracle 10.1.0.2.0
    3. To perform http post I use HttpClient 3.1 from Apache.
    4. I checked the http connection to be closed each time, and this is done.
    5. I checked the oracle statement and connection to be closed each time and this is done
    6. The JVM error (logged in .trc files of Oracle) is:
    java.lang.OutOfMemoryError
         at java.lang.Thread.start(Native Method)
         at sun.security.provider.SeedGenerator$ThreadedSeedGenerator.run(SeedGenerator.java:297)
    DB Settings details:
    Starting up ORACLE RDBMS Version: 10.1.0.2.0.
    System parameters with non-default values:
    processes = 200
    sessions = 225
    shared_pool_size = 159383552
    large_pool_size = 8388608
    java_pool_size = 104857600
    nls_language = AMERICAN
    control_files = C:\ORACLE\PRODUCT\10.1.0\ORADATA\XXXXXX\CONTROL01.CTL, C:\ORACLE\PRODUCT\10.1.0\ORADATA\XXXXXX\CONTROL02.CTL, C:\ORACLE\PRODUCT\10.1.0\ORADATA\XXXXXX\CONTROL03.CTL
    db_block_size = 8192
    db_cache_size = 29360128
    compatible = 10.1.0
    fal_client = XXXXXX
    fal_server = XXXXXXs
    log_buffer = 524288
    log_checkpoint_interval = 100000
    db_files = 70
    db_file_multiblock_read_count= 32
    db_recovery_file_dest = C:\oracle\product\10.1.0\flash_recovery_area
    db_recovery_file_dest_size= 2147483648
    standby_file_management = AUTO
    undo_management = AUTO
    undo_tablespace = undotbs_01
    undo_retention = 14400
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=XXXXXXXDB)
    remote_dependencies_mode = SIGNATURE
    job_queue_processes = 4
    parallel_max_servers = 5
    background_dump_dest = C:\ORACLE\PRODUCT\10.1.0\ADMIN\XXXXXX\BDUMP
    user_dump_dest = C:\ORACLE\PRODUCT\10.1.0\ADMIN\XXXXXX\UDUMP
    max_dump_file_size = 10240
    core_dump_dest = C:\ORACLE\PRODUCT\10.1.0\ADMIN\XXXXXX\CDUMP
    sort_area_size = 1048576
    sort_area_retained_size = 1048576
    db_name = XXXXXX
    open_cursors = 500
    optimizer_mode = FIRST_ROWS
    pga_aggregate_target = 25165824
    Any help would be appreciated. Thanks.
    Can be a problem with JVM threading under Oracle ?

    The server prcess failed to allocate more memory for large objects ( in Oldspace).
    If you Google ORA-04030, you will see several recommendations to work around this.
    The Java VM in the database already has HttpClient, i don't know why you are loading the Apache HttpClient but this might not be the surce of the problem.
    Kuassi http://db360.blogspot.com

  • Ora-00604:error occurred at recursive SQL level 1 and Ora-04023

    hi all
    i am using oracle linux 5.5 and oracle Database 11g R2 while shutingdown the database i am getting
    the following errors.
    SQL> shutdown immediate;
    Ora-00604:error occurred at recursive SQL level 1
    Ora-04023: object select count(*) from reg$SQL>plz can anyone help me out?

    Couple of questions related to this issue:
    1.Is there anything in alert log. Post last 50 lines from alert log.
    2.Is there any trace / log generated by Oracle ?
    3.What is Memory_Target parameter value ?
    4.What is value of statistics_level parameter ?
    5.Did you perform any failed upgradation ?
    6.Are there any invalid objects in database ?
    Generally ORA-00604 is related to insufficient size of shared pool. Now, i am googling how to get a proper value of shared pool size ? I got that there is a view v$shared_pool_advice which will tell me the answer of this question. Ok, it means now question is how do i get the proper value of shared pool from v$shared_pool_advice; i mean how do i interpret this v$shared_pool_advice view ?
    No problem docs are there to answer this question : (How i got this link ? Open a new page---http://tahiti.oracle.com---selected 11.2 docs--in the left hand sided there is a search text box i entered v$shared_pool_advice and i got couple of links)
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17110/dynviews_3037.htm#REFRN30239
    I will read these links and now i will query this and DBA_HIST_SHARED_POOL_ADVICE views, interpret the values. Ok, but what about my original question i.e. ORA-00604 and 4023 ? If i am at this stage, understood all the values, it means now i can understand the meaning / sense of resizing of shared pool.
    ALTER SYSTEM SET statistics_level=TYPICAL SCOPE=SPFILE;
    You can monitor V$SGA_RESIZE_OPS to identify the range of values that Oracle is automatically resizing the DB_CACHE_SIZE and SHARED_POOL_SIZE components to. Then, pick an appropriate minimum value based on the range. There's no "magic formula". But V$SGA_RESIZE_OPS shows the sizes that Oracle has been automatically been resizing the SGA components to. The Buffer Cache Advisory section of the AWR report or V$DB_CACHE_ADVICE, V$SHARED_POOL_ADVICE, V$SGA_TARGET_ADVICE and DBA_HIST_SGA_TARGET_ADVICE are views that provide advisory information as well. Hemant @ SGA_MAX_SIZE and SGA_TARGET how to set minimum for pools
    So, these are the baby steps if i ever gets ORA-00604 and ORA-04023 on my test database. Do all these and feel free to post the next doubt, i am sure you will get the correct answer.
    Regards
    Girish Sharma

  • Database Error: DBD::Oracle::db do failed: ORA-04030: out of process memory

    Hi
    I have a stored procedure that uses the XMLQuery function (SELECT XMLQuery( '......' RETURNING CONTENT) FROM dual; ) to extract data from 3 different tables and store the xml file in XML DB. This store procedure was running fine for a long time until 2 weeks ago where I started seeing the following error:
    Database Error: DBD::Oracle::db do failed: ORA-04030: out of process memory when trying to allocate 92 bytes (koh dur heap d,qmxtkWriteXobToOpn:heap)
    Currently I have 16,000 records. I am not sure what is going on, the size of the previous successful output xml file is about 2M. I also noticed when the stored procedure runs with 3G of system memory available, it basically used up all the memory and cpu time. The store proc consistently dies after 3.5 hour and spits out the ORA-04030 out of process memory error.
    Does anyone have any suggestion what to look for or what parameters I need to set? Thanks

    Unless your database is strictly a DSS-type of database, your AWR report exposes loads of issues with it. And I think none of the time during the AWR window was spent on database. Look at the DB time (with all those multi cores) compared with the elapsed time of the AWR.
    As you are on 11g, why not make use of MEMORY_TARGET (a single parameter to manage both SGA and PGA)? If you are already on it, ignore this as I can't see it anywhere. If not, get rid of SGA_TARGET and PGA_AGGREGATE_TARGET and replace it with a single MEMORY_TARGET parameter. However you may have a minimum threshold set for different SGA pools so that they won't shrink beyond that point.
    Having said that, setting MEMORY_TARGET is not a guarantee to avoid ORA-4030. Just a single bad PL/SQL code could go and exploit the untunable part of your process memory and even go and blow up the physical memory. If you are using FORALL and BULK load, see if you can cut it down into few chunks rather than running as a single process.
    What does your V$PGASTAT say?

  • Getting error: ORA-04030: out of process memory with EBS database

    Dear experts,
    I am getting this error with the EBS 11i database during the running of the system specially in the rush hour of the work day leads to disconnect between the database server and client:
    ORA-04030: out of process memory when trying to allocate 917536 bytes (joxcx callheap,ioc_allocate ufree)
    OS: Windows Server 2003 32bit
    Memory: 4GB RAM
    Oracle database version: 9.2.0.6.0
    db_cache_size=629145600
    sga_max_size=1400897536
    pga_aggregate_target=1073741824
    sessions=800
    processes=400
    Thanks

    This error is expected, especially if enough memory is not allocated and the system is heavily loaded, as it seems to be in your case. Pl see this MOS Doc for possible resolution
    Master Note for Diagnosing OS Memory Problems and ORA-4030 [ID 1088267.1]     
    HTH
    Srini

Maybe you are looking for