Oracle XML CLOB out of memory error

I am running several of Oracle's XML tools
to store large XML documents in Oracle.
I am successful with a 3 MB file, but not
with a 20 MB file. I get an "out of memory"
exception in LobPlsqlUtil.class.
The CLOB is accessed through the method
CLOB.getCharacterStream(), which is then
handed off to an XMLParser class. The
exact exception is below:
Any ideas? Thanks, Rich
==========================================
Unhandled exception breakpoint occurred at line 135 in file [D:\programs\jdev\jdbc\lib\oracle8.1.7\classes12.zip]\oracle\sql\LobPlsqlUtil.class: java.lang.OutOfMemoryError.
==============================

I have some more information to add to the
original post. I found that if I access the
CLOB very fast then I can get all 20 MB of
data from the CLOB. If I access it slowly
(meaning that I pass CLOB.getCharacterStream
to a parser) then it fails.
I wrote my own InputStream as a wrapper
around CLOB, using the CLOB.getChars()
function. If I pass this input stream to
a parser (one of Oracles, or Xerces) and
get the data chunks on demand, it still
fails. If, instead, I read all the CLOB
data as fast as possible, and buffer it
locally before passing it on to the parser,
then I get all 20 MB. Go figure!!
Also, when the CLOB reading fails, it doesn't
help to get a new ResultSet, or to close and
open a new Connection and try to start where
it left off.

Similar Messages

  • Large Pdf using XML XSL - Out of Memory Error

    Hi Friends.
    I am trying to generate a PDF from XML, XSL and FO in java. It works fine if the PDF to be generated is small.
    But if the PDF to be generated is big, then it throws "Out of Memory" error. Can some one please give me some pointers about the possible reasons for this errors. Thanks for your help.
    RM
    Code:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import org.xml.sax.InputSource;
    import org.xml.sax.XMLReader;
    import org.apache.fop.apps.Driver;
    import org.apache.fop.apps.Version;
    import org.apache.fop.apps.XSLTInputHandler;
    import org.apache.fop.messaging.MessageHandler;
    import org.apache.avalon.framework.logger.ConsoleLogger;
    import org.apache.avalon.framework.logger.Logger;
    public class PdfServlet extends HttpServlet {
    public static final String FO_REQUEST_PARAM = "fo";
    public static final String XML_REQUEST_PARAM = "xml";
    public static final String XSL_REQUEST_PARAM = "xsl";
    Logger log = null;
         Com_BUtil myBu = new Com_BUtil();
    public void doGet(HttpServletRequest request,
    HttpServletResponse response) throws ServletException {
    if(log == null) {
         log = new ConsoleLogger(ConsoleLogger.LEVEL_WARN);
         MessageHandler.setScreenLogger(log);
    try {
    String foParam = request.getParameter(FO_REQUEST_PARAM);
    String xmlParam = myBu.getConfigVal("filePath") +"/"+request.getParameter(XML_REQUEST_PARAM);
    String xslParam = myBu.SERVERROOT + "/jsp/servlet/"+request.getParameter(XSL_REQUEST_PARAM)+".xsl";
         if((xmlParam != null) && (xslParam != null)) {
    XSLTInputHandler input = new XSLTInputHandler(new File(xmlParam), new File(xslParam));
    renderXML(input, response);
    } else {
    PrintWriter out = response.getWriter();
    out.println("<html><head><title>Error</title></head>\n"+
    "<body><h1>PdfServlet Error</h1><h3>No 'fo' "+
    "request param given.</body></html>");
    } catch (ServletException ex) {
    throw ex;
    catch (Exception ex) {
    throw new ServletException(ex);
    public void renderXML(XSLTInputHandler input,
    HttpServletResponse response) throws ServletException {
    try {
    ByteArrayOutputStream out = new ByteArrayOutputStream();
    response.setContentType("application/pdf");
    Driver driver = new Driver();
    driver.setLogger(log);
    driver.setRenderer(Driver.RENDER_PDF);
    driver.setOutputStream(out);
    driver.render(input.getParser(), input.getInputSource());
    byte[] content = out.toByteArray();
    response.setContentLength(content.length);
    response.getOutputStream().write(content);
    response.getOutputStream().flush();
    } catch (Exception ex) {
    throw new ServletException(ex);
    * creates a SAX parser, using the value of org.xml.sax.parser
    * defaulting to org.apache.xerces.parsers.SAXParser
    * @return the created SAX parser
    static XMLReader createParser() throws ServletException {
    String parserClassName = System.getProperty("org.xml.sax.parser");
    if (parserClassName == null) {
    parserClassName = "org.apache.xerces.parsers.SAXParser";
    try {
    return (XMLReader) Class.forName(
    parserClassName).newInstance();
    } catch (Exception e) {
    throw new ServletException(e);

    Hi,
    I did try that initially. After executing the command I get this message.
    C:\>java -Xms128M -Xmx256M
    Usage: java [-options] class [args...]
    (to execute a class)
    or java -jar [-options] jarfile [args...]
    (to execute a jar file)
    where options include:
    -cp -classpath <directories and zip/jar files separated by ;>
    set search path for application classes and resources
    -D<name>=<value>
    set a system property
    -verbose[:class|gc|jni]
    enable verbose output
    -version print product version and exit
    -showversion print product version and continue
    -? -help print this help message
    -X print help on non-standard options
    Thanks for your help.
    RM

  • CLOB out of memory error

    I am running several of Oracle's XML tools
    to store large XML documents in Oracle.
    I am successful with a 3 MB file, but not
    with a 20 MB file. I get an "out of memory"
    exception in LobPlsqlUtil.class.
    The CLOB is accessed through the method
    CLOB.getCharacterStream(), which is then
    handed off to an XMLParser class. The
    exact exception is below:
    Any ideas? Thanks, Rich
    ==========================================
    Unhandled exception breakpoint occurred at line 135 in file [D:\programs\jdev\jdbc\lib\oracle8.1.7\classes12.zip]\oracle\sql\LobPlsqlUtil.class: java.lang.OutOfMemoryError.
    ==============================
    null

    I have some more information to add to the
    original post. I found that if I access the
    CLOB very fast then I can get all 20 MB of
    data from the CLOB. If I access it slowly
    (meaning that I pass CLOB.getCharacterStream
    to a parser) then it fails.
    I wrote my own InputStream as a wrapper
    around CLOB, using the CLOB.getChars()
    function. If I pass this input stream to
    a parser (one of Oracles, or Xerces) and
    get the data chunks on demand, it still
    fails. If, instead, I read all the CLOB
    data as fast as possible, and buffer it
    locally before passing it on to the parser,
    then I get all 20 MB. Go figure!!
    Also, when the CLOB reading fails, it doesn't
    help to get a new ResultSet, or to close and
    open a new Connection and try to start where
    it left off.

  • ORA-27102 Out of Memory Error

    Hi, I am installing Oracle 11g 64 bit in my server which is having windows server 2008 R2, and 64GB RAM. The software is installed successfully but while database creation it hangs at 2% progress copying database files. At this moment the full 64 GB memory gets consumed by Oracle installer and out of memory error flashed.
    Also i got some memory error report on oracle website as follows, but I am unable to find how to solve this problem
    *5.2.4 ORA-27102 Out of Memory Error*
    When creating a database on a computer with large physical memory, Oracle Universal Installer or Database Configuration may display an out of memory error.
    Workaround:
    Select the Advanced Installation type during installation, or run Database Configuration Assistant after a software only installation and reduce the memory allocated for Oracle based on the shared memory settings for your operating system.
    This issue is tracked with Oracle bug 9811726.
    Please help me.

    This is the dbca log file->
    [AWT-EventQueue-0] [ 2012-09-27 13:30:00.781 IST ] [Utils.getLocalHost:356] Hostname retrieved: MIPAS-SERVER, returned: MIPAS-SERVER
    [AWT-EventQueue-0] [ 2012-09-27 13:30:00.781 IST ] [WindowsSystem.dorunRemoteExecCmd:2061] WS: Calling windowsNative with cmd: C:\Windows\system32\acfsutil.exe
    [AWT-EventQueue-0] [ 2012-09-27 13:30:00.797 IST ] [WindowsSystem.dorunRemoteExecCmd:2064] WS: WinNative returned: false
    [AWT-EventQueue-0] [ 2012-09-27 13:30:00.812 IST ] [CmdToolUtil.doexecute:374] nativeSystem.runRemoteExecCmd failed. Command = C:\Windows\system32\acfsutil.exe arguments = [info, fs, /o, ismountpoint, Y:\] env = null error = PRKN-1014 : Failed to execute remote command "C:\Windows\system32\acfsutil.exe" on node "MIPAS-SERVER".executable doesn't exist
    [AWT-EventQueue-0] [ 2012-09-27 13:30:00.812 IST ] [OFSUtil.doIsACFSPartition:298] CmdToolUtil execute failed. boolean result = false
    PRCT-1114 : Execution of acfsutil command failed on node localnode for location Y:\
    PRCT-1011 : Failed to run {0}, PRKN-1014 : Failed to execute remote command "C:\Windows\system32\acfsutil.exe" on node "MIPAS-SERVER".executable doesn't exist
         at oracle.cluster.deployment.ClusterwareInfo.do1_isOFSPartition(ClusterwareInfo.java:1646)
         at oracle.cluster.deployment.ClusterwareInfo.do_isOFSPartition(ClusterwareInfo.java:1540)
         at oracle.cluster.deployment.ClusterwareInfo.isOFSPartition(ClusterwareInfo.java:1505)
         at oracle.sysman.assistants.util.hasi.HAUtils.isACFSFileSystem(HAUtils.java:1961)
         at oracle.sysman.assistants.dbca.backend.Verifier.checkIfACFS(Verifier.java:1948)
         at oracle.sysman.assistants.dbca.ui.DatabaseAreaPage.validateStorageDest(DatabaseAreaPage.java:675)
         at oracle.sysman.assistants.dbca.ui.DatabaseAreaPage.validate(DatabaseAreaPage.java:1187)
         at oracle.sysman.assistants.util.wizard.WizardPageExt.wizardValidatePage(WizardPageExt.java:214)
         at oracle.ewt.wizard.WizardPage.processWizardValidateEvent(Unknown Source)
         at oracle.ewt.wizard.WizardPage.validatePage(Unknown Source)
         at oracle.ewt.wizard.BaseWizard.validateSelectedPage(Unknown Source)
         at oracle.ewt.wizard.BaseWizard.doNext(Unknown Source)
         at oracle.sysman.assistants.util.wizard.WizardExt.doNext(WizardExt.java:265)
         at oracle.ewt.wizard.BaseWizard$Action.actionPerformed(Unknown Source)
         at oracle.ewt.button.PushButton.processActionEvent(Unknown Source)
         at oracle.ewt.button.PushButton.processEventImpl(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at oracle.ewt.button.PushButton.activate(Unknown Source)
         at oracle.ewt.lwAWT.AbstractButton.processMouseReleased(Unknown Source)
         at oracle.ewt.lwAWT.AbstractButton.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Component.java:5282)
         at java.awt.Container.processEvent(Container.java:1966)
         at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
         at oracle.ewt.button.PushButton.processEventImpl(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp._redispatchEvent(Unknown Source)
         at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp._redispatchEvent(Unknown Source)
         at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Component.java:5517)
         at oracle.ewt.lwAWT.LWComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Component.java:5282)
         at java.awt.Container.processEvent(Container.java:1966)
         at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
         at oracle.ewt.event.tracking.GlassMouseGrabProvider$Proxy.processEventImpl(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Component.java:3984)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3819)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1791)
         at java.awt.Component.dispatchEvent(Component.java:3819)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Caused by: PRCT-1114 : Execution of acfsutil command failed on node localnode for location Y:\
    PRCT-1011 : Failed to run {0}, PRKN-1014 : Failed to execute remote command "C:\Windows\system32\acfsutil.exe" on node "MIPAS-SERVER".executable doesn't exist
         at oracle.cluster.cmdtools.OFSUtil.doIsACFSPartition(OFSUtil.java:300)
         at oracle.cluster.cmdtools.OFSUtil.isOFSPartition(OFSUtil.java:260)
         at oracle.cluster.cmdtools.OFSUtil.isOFSPartition(OFSUtil.java:236)
         at oracle.cluster.deployment.ClusterwareInfo.do1_isOFSPartition(ClusterwareInfo.java:1642)
         ... 51 more
    Caused by: PRCT-1011 : Failed to run {0}, PRKN-1014 : Failed to execute remote command "C:\Windows\system32\acfsutil.exe" on node "MIPAS-SERVER".executable doesn't exist
         at oracle.cluster.cmdtools.CmdToolUtil.doexecute(CmdToolUtil.java:379)
         at oracle.cluster.cmdtools.CmdToolUtil.execute(CmdToolUtil.java:339)
         at oracle.cluster.cmdtools.CmdToolUtil.doexecute(CmdToolUtil.java:271)
         at oracle.cluster.cmdtools.CmdToolUtil.execute(CmdToolUtil.java:233)
         at oracle.cluster.cmdtools.OFSUtil.doIsACFSPartition(OFSUtil.java:294)
         ... 54 more
    [AWT-EventQueue-0] [ 2012-09-27 13:30:00.812 IST ] [Verifier.checkIfACFS:1955] Y:\orcl1 is ACFS :false
    [AWT-EventQueue-0] [ 2012-09-27 13:30:00.844 IST ] [Verifier.setOradataDest:4897] setOradataDest:dfDest=Y:\orcl1
    [AWT-EventQueue-0] [ 2012-09-27 13:30:00.844 IST ] [TemplateManager.updateDatafileDestination:2081] updateDatafiles:datafileDir=Y:\orcl1
    [AWT-EventQueue-0] [ 2012-09-27 13:30:00.953 IST ] [TemplateManager.updateDatafileDestination:2225] From template, RedoLogGrName=1
    [AWT-EventQueue-0] [ 2012-09-27 13:30:00.968 IST ] [TemplateManager.updateDatafileDestination:2240] new file name redo01.log
    [AWT-EventQueue-0] [ 2012-09-27 13:30:00.968 IST ] [TemplateManager.updateDatafileDestination:2225] From template, RedoLogGrName=2
    [AWT-EventQueue-0] [ 2012-09-27 13:30:00.968 IST ] [TemplateManager.updateDatafileDestination:2240] new file name redo02.log
    [AWT-EventQueue-0] [ 2012-09-27 13:30:00.968 IST ] [TemplateManager.updateDatafileDestination:2225] From template, RedoLogGrName=3
    [AWT-EventQueue-0] [ 2012-09-27 13:30:00.984 IST ] [TemplateManager.updateDatafileDestination:2240] new file name redo03.log
    [AWT-EventQueue-0] [ 2012-09-27 13:30:00.984 IST ] [DatabaseAreaPage.validate:1295] Storage Attribute OMF Mode false
    [AWT-EventQueue-0] [ 2012-09-27 13:30:00.984 IST ] [DatabaseAreaPage.validate:1296] Storage Attribute OSM Mode false
    [AWT-EventQueue-0] [ 2012-09-27 13:30:00.984 IST ] [DatabaseAreaPage.validate:1297] set omf param false
    [AWT-EventQueue-0] [ 2012-09-27 13:31:37.564 IST ] [DatabaseRecoveryAreaPage.invokeFileDialog:569] after setDrives
    [AWT-EventQueue-0] [ 2012-09-27 13:31:37.564 IST ] [DatabaseRecoveryAreaPage.invokeFileDialog:595] Before runDialog
    [AWT-EventQueue-0] [ 2012-09-27 13:32:37.670 IST ] [TemplateManager.isInstallTemplate:2300] Selected Template by user:=General Purpose
    [AWT-EventQueue-0] [ 2012-09-27 13:32:37.670 IST ] [TemplateManager.isInstallTemplate:2307] The Message Id to be searched:=GENERAL_PURPOSE
    [AWT-EventQueue-0] [ 2012-09-27 13:32:37.670 IST ] [TemplateManager.isInstallTemplate:2300] Selected Template by user:=General Purpose
    [AWT-EventQueue-0] [ 2012-09-27 13:32:37.670 IST ] [TemplateManager.isInstallTemplate:2307] The Message Id to be searched:=GENERAL_PURPOSE
    [AWT-EventQueue-0] [ 2012-09-27 13:32:37.670 IST ] [PluggableTablespacesTabPage.configureSampleSchema:256] PluggableTablespaceTabPage::->configureSampleSchema()
    [AWT-EventQueue-0] [ 2012-09-27 13:32:37.686 IST ] [TemplateManager.isInstallTemplate:2300] Selected Template by user:=General Purpose
    [AWT-EventQueue-0] [ 2012-09-27 13:32:37.686 IST ] [TemplateManager.isInstallTemplate:2307] The Message Id to be searched:=GENERAL_PURPOSE
    [AWT-EventQueue-0] [ 2012-09-27 13:32:37.686 IST ] [TemplateManager.isInstallTemplate:2300] Selected Template by user:=General Purpose
    [AWT-EventQueue-0] [ 2012-09-27 13:32:37.686 IST ] [TemplateManager.isInstallTemplate:2307] The Message Id to be searched:=GENERAL_PURPOSE
    [AWT-EventQueue-0] [ 2012-09-27 13:33:00.035 IST ] [TemplateManager.isInstallTemplate:2300] Selected Template by user:=General Purpose
    [AWT-EventQueue-0] [ 2012-09-27 13:33:00.035 IST ] [TemplateManager.isInstallTemplate:2307] The Message Id to be searched:=GENERAL_PURPOSE
    [AWT-EventQueue-0] [ 2012-09-27 13:33:00.035 IST ] [PluggableTablespacesTabPage.onSampleSchemaStateChange:277] Tbs Name: EXAMPLE
    [AWT-EventQueue-0] [ 2012-09-27 13:33:00.035 IST ] [PluggableTablespacesTabPage.onSampleSchemaStateChange:278] Datafile Name: example01.dbf
    [AWT-EventQueue-0] [ 2012-09-27 13:33:00.035 IST ] [PluggableTablespacesTabPage.addTransportableDatafiles:230] PluggableTablespaceTabPage::->addTransportableDatafiles()
    [AWT-EventQueue-0] [ 2012-09-27 13:33:00.035 IST ] [PluggableTablespacesTabPage.configureSampleSchema:256] PluggableTablespaceTabPage::->configureSampleSchema()
    [AWT-EventQueue-0] [ 2012-09-27 13:33:00.847 IST ] [TemplateManager.isInstallTemplate:2300] Selected Template by user:=General Purpose
    [AWT-EventQueue-0] [ 2012-09-27 13:33:00.847 IST ] [TemplateManager.isInstallTemplate:2307] The Message Id to be searched:=GENERAL_PURPOSE
    [AWT-EventQueue-0] [ 2012-09-27 13:33:00.847 IST ] [PluggableTablespacesTabPage.configureSampleSchema:256] PluggableTablespaceTabPage::->configureSampleSchema()
    [AWT-EventQueue-0] [ 2012-09-27 13:33:27.289 IST ] [Verifier.processRawConfigFile:4031] StorageType == 0
    [AWT-EventQueue-0] [ 2012-09-27 13:33:27.289 IST ] [DatabaseOptionPage.doNext:273] processRawConfigFile=false
    [AWT-EventQueue-0] [ 2012-09-27 13:33:27.320 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:33:27.320 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:33:27.320 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:33:29.145 IST ] [InitParametersPage.validate:228] InitParametersPage->validate: in SPFile condition
    [AWT-EventQueue-0] [ 2012-09-27 13:33:29.145 IST ] [InitParametersPage.validate:232] original spFileName with variables ={ORACLE_HOME}\database\spfile{SID}.ora
    [AWT-EventQueue-0] [ 2012-09-27 13:33:29.145 IST ] [Verifier.validateSPFile:5233] The SPFILE={ORACLE_HOME}\database\spfile{SID}.ora
    [AWT-EventQueue-0] [ 2012-09-27 13:33:29.145 IST ] [ClusterUtils.validateRawDevice:760] Inside validateRawDevice
    [AWT-EventQueue-0] [ 2012-09-27 13:33:29.145 IST ] [ClusterUtils.validateRawDevice:772] Device Exception
    [AWT-EventQueue-0] [ 2012-09-27 13:33:29.145 IST ] [ClusterUtils.isRaw:738] The handle is invalid.
    [AWT-EventQueue-0] [ 2012-09-27 13:33:29.145 IST ] [InitParametersPage.validate:340] InitParametersPage->validate: calling createUndoAttributes
    [AWT-EventQueue-0] [ 2012-09-27 13:33:32.411 IST ] [Verifier.processRawConfigFile:4031] StorageType == 0
    [AWT-EventQueue-0] [ 2012-09-27 13:33:32.411 IST ] [DatabaseOptionPage.doNext:273] processRawConfigFile=false
    [AWT-EventQueue-0] [ 2012-09-27 13:35:00.941 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:00.956 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:00.956 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:01.050 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:01.050 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:01.050 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:01.175 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:01.175 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:01.175 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:01.284 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:01.284 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:01.284 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:01.986 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:01.986 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:01.986 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:02.079 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:02.079 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:02.079 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:02.189 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:02.204 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:02.204 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:02.329 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:02.329 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:02.329 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:02.469 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:02.469 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:02.469 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:02.859 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:02.859 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:02.859 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:03.000 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:03.000 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:03.000 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:03.109 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:03.109 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:03.125 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:03.218 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:03.218 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:03.218 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:03.374 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:03.374 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:03.374 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:03.483 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:03.483 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:03.483 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:03.967 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:03.967 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:03.967 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:04.185 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:04.185 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:04.185 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:04.310 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:04.310 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:04.310 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:04.419 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:04.419 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:04.419 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:04.607 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:04.607 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:04.607 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:26.308 IST ] [OsUtilsBase.getTotalPhysicalMemory:375] Total Physical Memory in MB: 65525
    [AWT-EventQueue-0] [ 2012-09-27 13:35:26.308 IST ] [OsUtilsBase.is64Bit:359] architecture is 64 bit: true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:26.308 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:28.710 IST ] [MemoryCalculator.calculateMemory:215] Setting SGA to MAX_SGA 1610612736
    [AWT-EventQueue-0] [ 2012-09-27 13:35:47.399 IST ] [InitParametersPage.validate:228] InitParametersPage->validate: in SPFile condition
    [AWT-EventQueue-0] [ 2012-09-27 13:35:47.399 IST ] [InitParametersPage.validate:232] original spFileName with variables ={ORACLE_HOME}\database\spfile{SID}.ora
    [AWT-EventQueue-0] [ 2012-09-27 13:35:47.399 IST ] [Verifier.validateSPFile:5233] The SPFILE={ORACLE_HOME}\database\spfile{SID}.ora
    [AWT-EventQueue-0] [ 2012-09-27 13:35:47.399 IST ] [ClusterUtils.validateRawDevice:760] Inside validateRawDevice
    [AWT-EventQueue-0] [ 2012-09-27 13:35:47.399 IST ] [ClusterUtils.validateRawDevice:772] Device Exception
    [AWT-EventQueue-0] [ 2012-09-27 13:35:47.399 IST ] [ClusterUtils.isRaw:738] The handle is invalid.
    [AWT-EventQueue-0] [ 2012-09-27 13:35:47.399 IST ] [InitParametersPage.validate:340] InitParametersPage->validate: calling createUndoAttributes
    [AWT-EventQueue-0] [ 2012-09-27 13:35:47.524 IST ] [StoragePage.selectAndExpandItem:353] item=oracle.sysman.emSDK.client.dataComponent.dataDrivenTree.TreeParentNode[label=Storage,index=0]
    [AWT-EventQueue-0] [ 2012-09-27 13:35:47.602 IST ] [StoragePage.selectAndExpandItem:362] item.isExpanded=true
    [AWT-EventQueue-0] [ 2012-09-27 13:35:47.602 IST ] [StoragePage.selectAndExpandItem:373] selection.isSelected(item)=false
    [AWT-EventQueue-0] [ 2012-09-27 13:36:00.130 IST ] [RedoLogGroupsComparator.compare:73] val1=1 val2=2
    [AWT-EventQueue-0] [ 2012-09-27 13:36:00.130 IST ] [RedoLogGroupsComparator.compare:93] result=-1
    [AWT-EventQueue-0] [ 2012-09-27 13:36:00.130 IST ] [RedoLogGroupsComparator.compare:73] val1=2 val2=3
    [AWT-EventQueue-0] [ 2012-09-27 13:36:00.130 IST ] [RedoLogGroupsComparator.compare:93] result=-1
    [AWT-EventQueue-0] [ 2012-09-27 13:36:04.576 IST ] [RedoLogGroupsComparator.compare:73] val1=1 val2=2
    [AWT-EventQueue-0] [ 2012-09-27 13:36:04.576 IST ] [RedoLogGroupsComparator.compare:93] result=-1
    [AWT-EventQueue-0] [ 2012-09-27 13:36:04.576 IST ] [RedoLogGroupsComparator.compare:73] val1=2 val2=3
    [AWT-EventQueue-0] [ 2012-09-27 13:36:04.576 IST ] [RedoLogGroupsComparator.compare:93] result=-1
    [AWT-EventQueue-0] [ 2012-09-27 13:36:27.761 IST ] [DBCAVttgControlfileProxy.getVtoObject:123] DBCAVttgControlfileProxy: In getVtoObject function
    [AWT-EventQueue-0] [ 2012-09-27 13:37:51.243 IST ] [RedoLogGroupsComparator.compare:73] val1=1 val2=2
    [AWT-EventQueue-0] [ 2012-09-27 13:37:51.243 IST ] [RedoLogGroupsComparator.compare:93] result=-1
    [AWT-EventQueue-0] [ 2012-09-27 13:37:51.243 IST ] [RedoLogGroupsComparator.compare:73] val1=2 val2=3
    [AWT-EventQueue-0] [ 2012-09-27 13:37:51.243 IST ] [RedoLogGroupsComparator.compare:93] result=-1
    [TaskScheduler timer] [ 2012-09-27 13:37:52.232 IST ] [DBCAVbogRedoLogGroupImpl.getDefaultLogfilePath:327] defaultPath=Y:\orcl1\orcl1\
    [TaskScheduler timer] [ 2012-09-27 13:37:53.489 IST ] [DBCAVbogRedoLogGroupImpl.getDefaultLogfilePath:327] defaultPath=Y:\orcl1\orcl1\
    [TaskScheduler timer] [ 2012-09-27 13:37:54.536 IST ] [DBCAVbogRedoLogGroupImpl.getDefaultLogfilePath:327] defaultPath=Y:\orcl1\orcl1\
    [TaskScheduler timer] [ 2012-09-27 13:37:55.800 IST ] [DBCAVbogRedoLogGroupImpl.getDefaultLogfilePath:327] defaultPath=Y:\orcl1\orcl1\
    [TaskScheduler timer] [ 2012-09-27 13:37:56.206 IST ] [DBCAVbogRedoLogGroupImpl.getDefaultLogfilePath:327] defaultPath=Y:\orcl1\orcl1\
    [AWT-EventQueue-0] [ 2012-09-27 13:37:58.499 IST ] [StoragePage.validate:995] StoragePage: In validate function
    [AWT-EventQueue-0] [ 2012-09-27 13:37:58.499 IST ] [Verifier.validateTemplate:2019] StorageType == 0
    [AWT-EventQueue-0] [ 2012-09-27 13:37:58.514 IST ] [CreationOptionPage.setSaveTemplateVisible:467] Setting save template visible = true
    [AWT-EventQueue-0] [ 2012-09-27 13:38:18.155 IST ] [DBCAWizard.onFinish:1134] m_bFinishClicked: false
    [TaskScheduler timer] [ 2012-09-27 13:38:18.170 IST ] [OsUtilsBase.getRegistryEntry:1021] hklmKey while getting registry entryHKEY_LOCAL_MACHINE
    [TaskScheduler timer] [ 2012-09-27 13:38:18.170 IST ] [OsUtilsBase.getRegistryEntry:1022] keyToSet while getting registry entrySYSTEM\CurrentControlSet\Services\OracleServiceORCL
    [TaskScheduler timer] [ 2012-09-27 13:38:18.170 IST ] [OsUtilsWindows.enumerateSIDs:428] imagepath c:\users\administrator\documents\product\11.2.0\dbhome_1\bin\ORACLE.EXE ORCL\bin
    [TaskScheduler timer] [ 2012-09-27 13:38:18.170 IST ] [Verifier.validateTemplate:2019] StorageType == 0
    [TaskScheduler timer] [ 2012-09-27 13:38:18.186 IST ] [Verifier.calculateCloneDatafilePathsAndSizes:3460] canonicalPath=Y:\orcl1\
    [TaskScheduler timer] [ 2012-09-27 13:38:18.233 IST ] [Verifier.calculateCloneDatafilePathsAndSizes:3460] canonicalPath=Y:\orcl1\
    [TaskScheduler timer] [ 2012-09-27 13:38:18.248 IST ] [Verifier.calculateCloneDatafilePathsAndSizes:3460] canonicalPath=Y:\orcl1\
    [TaskScheduler timer] [ 2012-09-27 13:38:18.248 IST ] [Verifier.calculateCloneDatafilePathsAndSizes:3460] canonicalPath=Y:\orcl1\
    [TaskScheduler timer] [ 2012-09-27 13:38:18.248 IST ] [Verifier.calculateCloneDatafilePathsAndSizes:3460] canonicalPath=Y:\orcl1\
    [TaskScheduler timer] [ 2012-09-27 13:38:18.264 IST ] [Verifier.calculateRedoLogGroupFileSizes:3591] canonicalPath=Y:\orcl1\
    [TaskScheduler timer] [ 2012-09-27 13:38:18.264 IST ] [Verifier.calculateRedoLogGroupFileSizes:3591] canonicalPath=Y:\orcl1\
    [TaskScheduler timer] [ 2012-09-27 13:38:18.264 IST ] [Verifier.calculateRedoLogGroupFileSizes:3591] canonicalPath=Y:\orcl1\
    [TaskScheduler timer] [ 2012-09-27 13:38:18.264 IST ] [Verifier.getControlfFileSizes:3510] No. of Control files:=2
    [Thread-35] [ 2012-09-27 13:38:18.326 IST ] [UIHost.getHtmlSummary:1081] UIHost:getHtmlSummary: running createTemplateDocument NOT for SHOW_TEMPLATE condition
    [Thread-35] [ 2012-09-27 13:38:18.342 IST ] [UIHost.getHtmlSummary:1087] UIHost:getHtmlSummary: after running createTemplateDocument NOT for SHOW_TEMPLATE condition
    [Thread-35] [ 2012-09-27 13:38:18.342 IST ] [XSLConst.generateHeaderXSL:214] NLS:Template Name:= null
    [Thread-35] [ 2012-09-27 13:38:18.342 IST ] [XSLConst.generateHeaderXSL:219] Template Description:= Use this database template to create a pre-configured database optimized for general purpose or transaction processing usage.
    [Thread-35] [ 2012-09-27 13:38:18.404 IST ] [UIHost.getHtmlSummary:1117] UIHost->getHtmlSummary: start printing of transformed document
    [TaskScheduler timer] [ 2012-09-27 13:38:51.814 IST ] [Host.executeSteps:5039] Executing steps....
    [TaskScheduler timer] [ 2012-09-27 13:38:51.814 IST ] [Host.setUpForOperation:3625] setUpForOperation: Mode = 128
    [TaskScheduler timer] [ 2012-09-27 13:38:51.814 IST ] [OsUtilsBase.getBaseFromOrabase:602] oraBaseUtility D:\app\Administrator\product\11.2.0\dbhome_3\bin\orabase.exe
    [TaskScheduler timer] [ 2012-09-27 13:38:51.814 IST ] [OsUtilsBase.getBaseFromOrabase:611] cmds: D:\app\Administrator\product\11.2.0\dbhome_3\bin\orabase.exe
    [TaskScheduler timer] [ 2012-09-27 13:38:51.892 IST ] [OsUtilsBase.getBaseFromOrabase:616] baseLocation from orabase
    Oracle home environment variable not set
    [TaskScheduler timer] [ 2012-09-27 13:38:51.892 IST ] [OsUtilsBase.getBaseFromOrabase:641] orabaseLocation= null
    [TaskScheduler timer] [ 2012-09-27 13:38:51.907 IST ] [InventoryUtil.getOUIInvSession:347] setting OUI READ level to ACCESSLEVEL_READ_LOCKLESS
    [TaskScheduler timer] [ 2012-09-27 13:38:51.907 IST ] [InventoryUtil.getHomeName:111] homeName = OraDb11g_home4
    [TaskScheduler timer] [ 2012-09-27 13:38:51.907 IST ] [OsUtilsBase.getOracleHomeKeyImpl:979] getting home key for home name: OraDb11g_home4
    [TaskScheduler timer] [ 2012-09-27 13:38:51.907 IST ] [OsUtilsBase.getRegistryEntry:1021] hklmKey while getting registry entryHKEY_LOCAL_MACHINE
    [TaskScheduler timer] [ 2012-09-27 13:38:51.907 IST ] [OsUtilsBase.getRegistryEntry:1022] keyToSet while getting registry entrySOFTWARE\ORACLE\KEY_OraDb11g_home4
    [TaskScheduler timer] [ 2012-09-27 13:38:51.907 IST ] [OsUtilsBase.getBaseFromOrabase:602] oraBaseUtility D:\app\Administrator\product\11.2.0\dbhome_3\bin\orabase.exe
    [TaskScheduler timer] [ 2012-09-27 13:38:51.907 IST ] [OsUtilsBase.getBaseFromOrabase:611] cmds: D:\app\Administrator\product\11.2.0\dbhome_3\bin\orabase.exe
    [TaskScheduler timer] [ 2012-09-27 13:38:51.985 IST ] [OsUtilsBase.getBaseFromOrabase:616] baseLocation from orabase
    Oracle home environment variable not set
    [TaskScheduler timer] [ 2012-09-27 13:38:51.985 IST ] [OsUtilsBase.getBaseFromOrabase:641] orabaseLocation= null
    [TaskScheduler timer] [ 2012-09-27 13:38:51.985 IST ] [InventoryUtil.getOUIInvSession:347] setting OUI READ level to ACCESSLEVEL_READ_LOCKLESS
    [TaskScheduler timer] [ 2012-09-27 13:38:51.985 IST ] [InventoryUtil.getHomeName:111] homeName = OraDb11g_home4
    [TaskScheduler timer] [ 2012-09-27 13:38:51.985 IST ] [OsUtilsBase.getOracleHomeKeyImpl:979] getting home key for home name: OraDb11g_home4
    [TaskScheduler timer] [ 2012-09-27 13:38:51.985 IST ] [OsUtilsBase.getRegistryEntry:1021] hklmKey while getting registry entryHKEY_LOCAL_MACHINE
    [TaskScheduler timer] [ 2012-09-27 13:38:51.985 IST ] [OsUtilsBase.getRegistryEntry:1022] keyToSet while getting registry entrySOFTWARE\ORACLE\KEY_OraDb11g_home4
    [TaskScheduler timer] [ 2012-09-27 13:38:51.985 IST ] [OsUtilsBase.copyFile:1499] OsUtilsBase.copyFile:
    [TaskScheduler timer] [ 2012-09-27 13:38:52.001 IST ] [OsUtilsBase.copyFile:1547] **write of file at destination complete...
    [TaskScheduler timer] [ 2012-09-27 13:38:52.001 IST ] [OsUtilsBase.copyFile:1582] **file copy status:= true

  • Out of Memory Error bcoz of xml file size

    Hi,
    Help me to solve this out of memory error, if xml file size
    is increased means
    it is not displaying anything and displaying this out of
    memory error.
    Thanking you
    Regards
    Nirmalatha.N

    You should avoid loading large sized XML files in your Flash
    Lite application. There is a limit on incoming data, and anything
    beyond that will give an error. My experience has been around 1000
    characters in a single stream of incoming text.
    A possible solution your memory problem is to use a middle
    language like PHP, ASP etc, to stream a single XML data file in
    parts to your Flash Lite application. This means you avoid loading
    XML directly in Flash.
    Mariam

  • Out of Memory Error in Oracle 8i

    When i ty to fetch data from view it throws "Out OF Memory Error",Normally it sholud return 300000 records as output uisng joing condition.
    Any body please help me as this is Bit Urgent ....
    Thanks.

    user7725408 wrote:
    When i ty to fetch data from view it throws "Out OF Memory Error",Normally it sholud return 300000 records as output uisng joing condition.
    Any body please help me as this is Bit Urgent ....
    Thanks.There are several specific "out of memory" errors. How about an acutal error code (ORA-nnnnn). Is this on a 32-bit Windows system?

  • Oracle Service Bus For loop getting out of memory error

    I have a business service that is based on a JCA adapter to fetch an undertimed amout of records from a database.  I then need to upload those to another system using a webservice designed by an external source.  This web service will only accept upto to x amount of records.
    The process:
    for each object in the Jca Response
          Insert object into Service callout Request body
          if object index = number of objects in jca response or object index = next batch index
               Invoke service callout
               Append service callout Response to a total response object (xquery transform)
               increase next batch index by Batch size
               reset service callout to empty body
           endif
    end for
    replace body  with total response object.
    If I use the data set that only has 5 records  and use a batch size of 2 the process works fine.
    If I use  a data set with 89 records  and a batch size of 2 I get the below out of memory error  after about 10 service callouts
    the quantity of data in the objects is pretty small, less than 1kB for each JCA Object
    Server Name:
    AdminServer
    Log Name:
    ServerLog
    Message:
    Failed to process response message for service ProxyService Sa/Proxy Services/DataSync:
    java.lang.OutOfMemoryError: allocLargeObjectOrArray:
    [C, size 67108880 java.lang.OutOfMemoryError: allocLargeObjectOrArray:
    [C, size 67108880 at org.apache.xmlbeans.impl.store.Saver$TextSaver.resize(Saver.java:1700)
    at org.apache.xmlbeans.impl.store.Saver$TextSaver.preEmit(Saver.java:1303) at
    org.apache.xmlbeans.impl.store.Saver$TextSaver.emit(Saver.java:1234)
    at org.apache.xmlbeans.impl.store.Saver$TextSaver.emitXmlns(Saver.java:1003)
    at org.apache.xmlbeans.impl.store.Saver$TextSaver.emitNamespacesHelper(Saver.java:1021)
    at org.apache.xmlbeans.impl.store.Saver$TextSaver.emitElement(Saver.java:972)
    at org.apache.xmlbeans.impl.store.Saver.processElement(Saver.java:476)
    at org.apache.xmlbeans.impl.store.Saver.process(Saver.java:307)
    at org.apache.xmlbeans.impl.store.Saver$TextSaver.saveToString(Saver.java:1864)
    at org.apache.xmlbeans.impl.store.Cursor._xmlText(Cursor.java:546)
    at org.apache.xmlbeans.impl.store.Cursor.xmlText(Cursor.java:2436)
    at org.apache.xmlbeans.impl.values.XmlObjectBase.xmlText(XmlObjectBase.java:1500)
    at com.bea.wli.sb.test.service.ServiceTracer.getXmlData(ServiceTracer.java:968)
    at com.bea.wli.sb.test.service.ServiceTracer.addDataType(ServiceTracer.java:944)
    at com.bea.wli.sb.test.service.ServiceTracer.addDataType(ServiceTracer.java:924)
    at com.bea.wli.sb.test.service.ServiceTracer.addContextChanges(ServiceTracer.java:814)
    at com.bea.wli.sb.test.service.ServiceTracer.traceExit(ServiceTracer.java:398)
    at com.bea.wli.sb.pipeline.debug.DebuggerTracingStep.traceExit(DebuggerTracingStep.java:156)
    at com.bea.wli.sb.pipeline.PipelineContextImpl.exitComponent(PipelineContextImpl.java:1292)
    at com.bea.wli.sb.pipeline.MessageProcessor.finishProcessing(MessageProcessor.java:371)
    at com.bea.wli.sb.pipeline.RouterCallback.onReceiveResponse(RouterCallback.java:108)
    at com.bea.wli.sb.pipeline.RouterCallback.run(RouterCallback.java:183)
    at weblogic.work.ContextWrap.run(ContextWrap.java:41)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Subsystem:
    OSB Kernel
    Message ID:
    BEA-382005
    It appears to be the service callout that is the problem (it calls another OSB service that logins and performs the data upload to the External service)  because If I change the batch size up to 100  the loop will load all the 89 records into the callout request and execute it fine.  If I have a small batch size then I run out of memory.
    Is there some settings I need to change?  Is there a better way in OSB (less memory intensive than service callout in a for loop)?
    Thanks.

    hi,
    Could you please let me know if you get rid off this issue as we are also facing the same issue.
    Thanks,
    SV

  • Out of memory error in oracle report

    when iam running the report its gives me out of memory error can anybody help me

    hi
    do u have any picture?
    generally OutOfMemoryError means, you have to increase the jvm heap size parameters.
    sarah

  • Out of Memory Error!! in DOMParser

    There must be a limit on the amount of memory the Oracle DOM parser allocate when parsing.
    When using the sample XSLSample program in the XDK, I get out of memory errors when attempting to parse large files (around 24M).
    Does anyone know a work around??? Is this a known bug???

    The DOM Model keeps everything in memory.
    Parsing a 24 Megabyte XML file (will requirement creating tons of objects in memory).
    If your file is 24 Megabytes because it is comprised of tons of repeating subdocuments, you might be able to combine processing the document using SAX and DOM to use your result.
    See O'Reilly's Building Oracle XML Applications for fully worked and explained examples of this combination approach.

  • XSOMParser throwing out of memory error

    Hello,
    Currently we are using XSOM parser with DomAnnotationParserFactory to parse XSD file. For small files it is working fine. However is was throwing out of memory error while parsing 9MB file. We could understood reason behind this. Is there any way to resolve this issue?
    Code :
         XSOMParser parser = new XSOMParser();
    parser.setAnnotationParser(new DomAnnotationParserFactory());
    XSSchemaSet schemaSet = null;
    XSSchema xsSchema = null;
    parser.parse(configFilePath);
    Here we are getting error on parser.parse() method. (using 128 MB heap memory using -Xrs -Xmx128m).
    Stack Trace :
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
         at oracle.xml.parser.v2.XMLDocument.xdkIncCurrentId(XMLDocument.java:3020)
         at oracle.xml.parser.v2.XMLNode.xdkInit(XMLNode.java:2758)
         at oracle.xml.parser.v2.XMLNode.<init>(XMLNode.java:423)
         at oracle.xml.parser.v2.XMLNSNode.<init>(XMLNSNode.java:144)
         at oracle.xml.parser.v2.XMLElement.<init>(XMLElement.java:373)
         at oracle.xml.parser.v2.XMLDocument.createNodeFromType(XMLDocument.java:2865)
         at oracle.xml.parser.v2.XMLDocument.createElement(XMLDocument.java:1896)
         at oracle.xml.parser.v2.DocumentBuilder.startElement(DocumentBuilder.java:224)
         at oracle.xml.parser.v2.XMLElement.reportStartElement(XMLElement.java:3188)
         at oracle.xml.parser.v2.XMLElement.reportSAXEvents(XMLElement.java:2164)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:337)
         at oracle.xml.jaxp.JXTransformerHandler.endDocument(JXTransformerHandler.java:141)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime.java:267)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(Unknown Source)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1257)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:196)
         at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
         at com.sun.xml.xsom.parser.JAXPParser.parse(JAXPParser.java:79)
         at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:298)
         at com.sun.xml.xsom.impl.parser.ParserContext.parse(ParserContext.java:87)
         at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:147)
         at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:136)
         at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:129)
         at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:122)
    Please let me know if anyone has comment on this.
    Also let me know if there any other parser which handles large input files efficiently.

    Hello,
    Currently we are using XSOM parser with DomAnnotationParserFactory to parse XSD file. For small files it is working fine. However is was throwing out of memory error while parsing 9MB file. We could understood reason behind this. Is there any way to resolve this issue?
    Code :
         XSOMParser parser = new XSOMParser();
    parser.setAnnotationParser(new DomAnnotationParserFactory());
    XSSchemaSet schemaSet = null;
    XSSchema xsSchema = null;
    parser.parse(configFilePath);
    Here we are getting error on parser.parse() method. (using 128 MB heap memory using -Xrs -Xmx128m).
    Stack Trace :
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
         at oracle.xml.parser.v2.XMLDocument.xdkIncCurrentId(XMLDocument.java:3020)
         at oracle.xml.parser.v2.XMLNode.xdkInit(XMLNode.java:2758)
         at oracle.xml.parser.v2.XMLNode.<init>(XMLNode.java:423)
         at oracle.xml.parser.v2.XMLNSNode.<init>(XMLNSNode.java:144)
         at oracle.xml.parser.v2.XMLElement.<init>(XMLElement.java:373)
         at oracle.xml.parser.v2.XMLDocument.createNodeFromType(XMLDocument.java:2865)
         at oracle.xml.parser.v2.XMLDocument.createElement(XMLDocument.java:1896)
         at oracle.xml.parser.v2.DocumentBuilder.startElement(DocumentBuilder.java:224)
         at oracle.xml.parser.v2.XMLElement.reportStartElement(XMLElement.java:3188)
         at oracle.xml.parser.v2.XMLElement.reportSAXEvents(XMLElement.java:2164)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:337)
         at oracle.xml.jaxp.JXTransformerHandler.endDocument(JXTransformerHandler.java:141)
         at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.endElement(NGCCRuntime.java:267)
         at org.xml.sax.helpers.XMLFilterImpl.endElement(Unknown Source)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1257)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:196)
         at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
         at com.sun.xml.xsom.parser.JAXPParser.parse(JAXPParser.java:79)
         at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:298)
         at com.sun.xml.xsom.impl.parser.ParserContext.parse(ParserContext.java:87)
         at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:147)
         at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:136)
         at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:129)
         at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:122)
    Please let me know if anyone has comment on this.
    Also let me know if there any other parser which handles large input files efficiently.

  • API out of memory error

    Hi all,
    We are experiencing problems when running a report many times(20). They are basically notices that we need to send to customers, we end up getting out of memory error. I did a search on this forum an it seems there is a solution, but only for enterprise:
    XML Publisher 5.0 and higher can make use of a temporary directory in case there is not sufficient memory available. This can be achieve by defining the system-temp-dir property in the XML Publisher Configuration File called xdo.cfg (needs to be created manually). Refer to note 295036.1, Step 9 for detailed instructions. An example of xdo.cfg :
    <property name="system-temp-dir">/u01/oracle/app/ERPcomn/temp</property>
    <property name="xslt-scalable">true</property>
    How can I set this file or manually set the above 2 parameters if we are using the APIs in a webservice
    The code basically runs out of memory when running the second last line of this code which generates part of the report (PDF output)
                   //Generate data file based on Data Template
                   DataProcessor dataProcessor = new DataProcessor();
                   dataProcessor.setDataTemplate(dataTemplateName);
                   dataProcessor.setParameters(inParams);
                   dataProcessor.setConnection(conn);
                   dataProcessor.setOutput(dataFileName);
                   dataProcessor.processData(); //runs out of memory after 20
    generatePDFFromRTF(dataFileName, reportName,disablePrint);
    Any info would be highly appreciated
    Thanks

    U have to get upgraded to Latest patch 5.6.3+ release.
    There are many enhancements in this version which will help you avoid these common errors, that would save alot of time.

  • Possible "Out of memory" error  during XSLT ?

    Hi ,
    I am working on 11gR1.
    In my project I am reading a file in batches of ten thousand messages.
    The file is getting read and archived and I can see expected number of instances getting created in the console.
    But nothing useful is visible inside the instance as the link for BPEL process is not appearing.
    (I have kept audit level as production but even in this case, atleast link should appear)
    When I checked the logs , it indicated that transaction was rolled back due to out of memory error.
    Just before this error, there is a reference to the xsl file which I am using :
    [2010-12-13T08:42:33.994-05:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.bpel.engine.xml] [tid: pool-5-thread-3] [userId: xxxx] [ecid: 0000InVxneH5AhCmvCECVH1D1XvN00002J,0:6:100000005] [APP: soa-infra] [composite_name: xxxx] [component_name: xxxx] [component_instance_id: 560005] [composite_instance_id: 570005] registered the bpel uri resolver [File-based Repository]oramds:/deployed-composites/xxxx_rev1.0/ base uri xsl/ABCD.xsl
    [2010-12-13T08:46:12.900-05:00] [soa_server1] [ERROR] [] [oracle.soa.mediator.dispatch.db] [tid: oracle.integration.platform.blocks.executor.WorkManagerExecutor$1@e01a3a] [userId: <anonymous>] [ecid: 0000InVuNCt5AhCmvCECVH1D1XvN000005,0] [APP: soa-infra] DBContainerIdManager:run() failed with error.Rolling back the txn[[
    java.lang.OutOfMemoryError
    My question is , is there any limit on how much payload can oracle's xslt parser handle in one go ?
    Is decreasing the batch size only possible solution for this ?
    Please share your valuable inputs ,
    Ketan
    Is there any limit on how many number of the elements xslt parser can handle ?
    I am reading a file in batch of 10 thousand messages per file. (Each recordsa has some 6-8 fields)
    The file is getting picked up but the instance does not show anything.

    > I'm getting out of memory errro during system copy import for Dual stack system (ABAP & JAVA).
    >
    > FJS-00003  out of memory (in script NW_Doublestack_CI|ind|ind|ind|ind, line 6293
    > 6: ???)
    Is this a 32bit instance? How much memory do you have (physically) in that machine?
    Markus

  • Out of Memory Error While deploying as EAR file

    Hai,
    I was trying to deploy an EAR file of size 63 MB which inturn containing about 60 EJB.jars. No WARs. application.xml has all the entries for the JARs. While I am deploying it is giving Out of Memory Error. Is there any way to tweak this problem. I am using my own hand written java application which uses the SunONE deployment APIs for deployment. Can u please tell how to tackle this problem. I am running my application through a batch file which uses jdk1.4.
    Please help me regarding this issue.

    You can set the initial heap size and maximum heap size for the JVM, either in the app-server admin console, or maybe in one of your scripts. You look-up the syntax!...
    I had this error yesterday. I too had run out of memory (150Mb). You simply need to allocate more to the app-server.

  • Report with more than 600 kb image - BO Server getting Out Of memory Error

    Hi,
       We have a report which displays images and size is above 600 KB.We are getting an "Out Of memory" Error while previewing this report in Business Object Server.
    In another situation we tried by giving a dynamic path to the OLE object, but the report is not showing error. We are not able to view the image whose size is more than 600KB
    Notes: 1. Image is stored as a BLOB  in Oracle Database
               2. Connection used inside the report is OLEDB
               3. UNIX Environment
    Regards,
    Sathish

    Please re-post if this is still an issue to the Business Objects Forum or if you have a valid support contract create a case on line.

  • Out of memory error - JS Runtime: How many users can one connect?

    Not talking video here.  Talking interactive apps, like chat.  Ours crashes at about 500 connected users.  When I report this I'm told "make sure you're not creating too many objects serverside" or "increase the JSRuntimeSize setting in your application.xml file to the max".
    Have now done both of those things but still get this out of memory error.  Let's say I optomized my app and got 100% more connection capacity.  That would be 1,000 connected users - still nowhere near enough.
    Are my dreams of 6,000 or 10,000 connected users enjoying all of the fruits of the FMS interactivity pipe dreams?  Is it not meant for sessions of that size?  Where does one find documentation or advice or application assistance on this issue?
    How do large social media applications connect so many people concurrently.
    Thoughts appreciated.
    Thanks

    Yes.  I'm using the max.
    <RuntimeSize>51200</RuntimeSize>
    See:
    http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f2 926bcf-7ff0.html#WS5b3ccc516d4fbf351e63e3d119f2926bcf-7ed2
    Don't think 100MB or 200MB would be valid settings.

Maybe you are looking for

  • How to connect a second computer to an airport extreme network

    how do I connect my macbook pro to an existing airport extreme network. The AE basestation is showing up on the macbook but when I click on it it tells me its not connected ??

  • Non-server data storage

    A friend of mine is developing a database for a specific environment: A small number of peer-to-peer networked Windows computers in a small office, with no dedicated servers - each computer acting as an individual's workstation. They want a "central"

  • Import from a catalog

    When i try to import from another catalog (from my laptop), the finder window opens and then shuts down instantly.  How do I transfer photos saved as an LRcat file?

  • Data folder

    I have a 40GB Zen Jukebox Xtra that I haven't used in some time (because I lost the charger). I have some data files on there I really want to get off there. Since I last used the device though, I have changed computers and lost the disc that came wi

  • Adjustment brush bugged? Image areas not brushed over change nevertheless

    Problem: I used the adjustment brush to brighten up an area in an image (+0.2 exposure). Doing so, a nearby but not connected area and not touched by the brush brightened up as well, going from almost blown out to blown out as shown by the red warnin