Out of Memory error caused by huge result set

Hi,
I'm using version 3.3.4 of KODO with the enterpise license. Our
application has some places where we're using straight SQL to create a
query using the following statement:
Query query = pm.newQuery ("javax.jdo.query.SQL", queryString);
There is one query that performs an inner join and returns over 2 billion
results. Of course this throws an out of memory error when we try to add
the results to a list. I printed out the exact SQL statement that is
being executed and it should return 0 results. The application is hitting
an Oracle 9i database, and running the query through the Oracle tool
SQLPlus returns the correct result. I'm stumped as to why this massive
result set is being returned when we use KODO. Here is the SQL string for
your examination:
SELECT T_ORDERITEM.* FROM T_ORDERITEM INNER JOIN T_REVENUE ON
T_ORDERITEM.ORDER_HOID = T_REVENUE.HOID WHERE T_ORDERITEM.COMMODITY_HOID
= '1871816913731466' AND T_ORDERITEM.DATESHIPPED BETWEEN
TO_DATE('12/25/2005', 'MM/DD/YYYY') AND TO_DATE('01/24/2006',
'MM/DD/YYYY') AND T_REVENUE.CUSTOMER_HOID IN (1844203535241210)
Thanks for your help,
Bennett

I'm also using JDK 1.4.2 so I'm not sure why you wouldn't be running into
the issue using the ArrayList constructor.
-Bennett
Paul Mogren wrote:
What result list implementation are you using? What's your JDK
version? I'm sure I've written new ArrayList(results) numerous times
without trouble, though I have not used Kodo 3.3.4. I had a look at
the JDK 1.4.2 source code for ArrayList(Collection) and
ArrayList.addAll(Collection), and it looks to me like the latter would
consume more memory than the former. However, it might be worth noting
that the former invokes size() on the argument.
-Paul Mogren, CommerceHub
On Thu, 19 Jan 2006 22:10:50 +0000 (UTC), [email protected]
(Bennett Hunter) wrote:
Nevermind, issue resolved. This wasn't due to the query, but rather how
we were creating a list with the results returned. This issue is probably
already posted, but I'll give the info. again:
You can't create an arraylist by passing in the kodo collection of results
to the constructor of ArrayList. For example: List l = new
ArrayList(results) .... that will throw the out of memory error because of
the way that the constructor builds the kodo collection. Maybe the bug is
with the kodo collection. However, the way around this is to create the
list with an empty constructor and then do an addAll() operation.
Bennett Hunter wrote:
Hi,
I'm using version 3.3.4 of KODO with the enterpise license. Our
application has some places where we're using straight SQL to create a
query using the following statement:
Query query = pm.newQuery ("javax.jdo.query.SQL", queryString);
There is one query that performs an inner join and returns over 2 billion
results. Of course this throws an out of memory error when we try to add
the results to a list. I printed out the exact SQL statement that is
being executed and it should return 0 results. The application is hitting
an Oracle 9i database, and running the query through the Oracle tool
SQLPlus returns the correct result. I'm stumped as to why this massive
result set is being returned when we use KODO. Here is the SQL string for
your examination:
SELECT T_ORDERITEM.* FROM T_ORDERITEM INNER JOIN T_REVENUE ON
T_ORDERITEM.ORDER_HOID = T_REVENUE.HOID WHERE T_ORDERITEM.COMMODITY_HOID
= '1871816913731466' AND T_ORDERITEM.DATESHIPPED BETWEEN
TO_DATE('12/25/2005', 'MM/DD/YYYY') AND TO_DATE('01/24/2006',
'MM/DD/YYYY') AND T_REVENUE.CUSTOMER_HOID IN (1844203535241210)
Thanks for your help,
Bennett

Similar Messages

  • Loading JPEG/Gif images causes Out Of Memory Error

    Hello Java gurus, please shed some light on this.....
    I am not a java newbie, but I am a java newbie in the area of dealing with graphics. I am using JDK 1.4.2_01 on Win XP with 2.4ghz and 512 RAM. When I try to read in a (or a few) JPEG image into a JLabel using ImageIcon, I get an out of memory error everytime. This happens whether I am reading the image out of a jar file or out of a local directory. The JPEG's are 8.5" x 11", and range between 150kb to 900kb. I am trying to load approximately 10 images in a JTabbedPane using new JLabel(ImageIcon) on individual JPanels (one JPanel for each JPEG). Now I get the java.lang.outofmemory error whether I try to load 1 image or 10 images. Anyone got a clue as to what I am doing wrong? I actually do get one image loaded before the error gets thrown. So I do know that it is trying to load the right image. What is going on here? Is it an ImageIcon problem, or are there others who have run into this. It has brought this project to a grinding halt, and I had thought this would be the easier part!!!! Please help me out gurus! Thanks!

    What options/values are you suggesting that I set? Or do you mean something else? Thank you for any ideas that can help me solve this problem. I never had any issues dealing with using ImageIcon for toolbar button graphics (file sizes of 1-3kb), but now with dealing with full page graphics I have run into a brick wall with this out of memory error.

  • Data merge with football tickets. Printing causes out of memory errors. Can only print 10 at a time!

    Here's the deal. Printing football tickets for the local high school. 10 tickets per 8.5 x 11 sheet. All black and white. I couldn't data merge into one whole document of tickets because it was failing to do that. So, I end up with 3 documents. First two have 50 pages of tickets and the last has 37 pages.
    When I go to print, I can only print 10 pages at a time or InDesign straight up crashes or I get an "Out of Memory" error which is bull because I've got plenty of ram available (unless it's complaining about lack of HD space for some reason)
    Incredibly frustrating.
    Each ticket has 3 images on it. Two of the images are the same. Those two images are about 103kb .ai files. Very very simple. The other image is a TIFF that is about 76kb. So there are 1000 .ai files / document and 500 TIFFs.
    Here's a video I took of it ripping: http://www.youtube.com/watch?v=UCjvdmXuaYs&feature=c4-overview&list=UUf_1UFp80YLZJfCyIxXEg kg
    Also, when printing, I have the Send Data set to Optimized Subsampling instead of "All". That's not seeming to help.
    Any thoughts?
    IDCS 5.5
    OSX 10.8.4

    I just ran a sample on my laptop.
    AI file, duplicated, is 284k. Image is roughly 200k. The CSV has 2054 records, and the merged document with 10 per page is 250 megabytes. PDF is just under 50 megs.
    This laptop has only 4 gigs memory but has a lot of free disk space. It took a good amount of time to do the merge, a bit longer to create the PDF-X1a PDF.
    Mike

  • Out of memory Error in ADF appication

    Hi All,
    I am using JDev 11.1.2.1.0.
    In my application we are performing the following activities.
         1. File Upload
         2. File download
         3. inputListOfValues(Magnifier LOV where we will be loading thousand of row in search results table).
    And our application should support 50 concurrent sessions at any point of time.
    Right now Our JDev is configured with a Heap Space of 512MB.
    We are getting out of memory error in the Jdeveloper console if we test the application with <20 concurrent sessions and it is not if test with less concurrent sessions(Note our Application Module settings configured to support 50 Concurrent sessions).
    Is there any way that we can avoid Out of memory error. Please suggest any tools through which we can track the objects causing the Memory leak.
    please suggest.
    thanks in Advance.
    Veer

    inputListOfValues(Magnifier LOV where we will be loading thousand of row in search results table).
    If you load and scroll over thousands of VO rows, then the VO will load all these rows in memory if the VO has not been configured to do Range Paging, which may cause out of memory. By default, VOs are not configured to do Range Paging. Please, try with VO Range Paging in order to minimize VO's memory footprint. (When a VO is configured to do Range Paging, it will keep in memory only a couple of ranges of rows. The default range size is 25, so it will keep in memory a few tens of rows). UI does not need to be changed and the user will scroll over the rows in an <af:table> in the normal way as he/she used to.
    Right now Our JDev is configured with a Heap Space of 512MB.
    JDev's heap size does not matter. The heap that you should check (and maybe increase) is the Java heap of the Integrated Weblogic Server, where the application is deployed and run. The heap size of the Integrated WLS is configured in the file <JDev_Home>/jdeveloper/system.xx.xx.xx.xx/DefaultDomain/bin/setDomainEnv.cmd (or .sh).
    Please suggest any tools through which we can track the objects causing the Memory leak.
    You can try Java Mission Control + Flight Recorder (former Oracle JRockit Mission Control), which is an awesome tool.
    Dimitar

  • 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

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

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

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

  • Out of Memory Error, Buffer Sizes, and Loop Rates on RT and FPGA

    I'm attempting to use an FPGA to collect data and then transfer that data to a RT system via a FIFO DMA, and then stream it from my RT systeam over to my host PC. I have the basics working, but I'm having two problems...
    The first is more of a nuisance. I keep receiving an Out of Memory error. This is a more recent development, but unfortunately I haven't been able to track down what is causing it and it seems to be independent of my FIFO sizes. While not my main concern, if someone was able to figure out why I would really appreciate it.
    Second, I'm struggling with overflows. My FPGA is running on a 100 MHz clock and my RT system simply cannot seem to keep up. I'm really only looking at recording 4 seconds of data, but it seems that no matter what I do I can't escape the problem without making my FIFO size huge and running out of memory (this was before I always got the Out of Memory error). Is there some kind of tip or trick I'm missing? I know I can set my FPGA to a slower clock but the clock speed is an important aspect of my application.
    I've attached a simplified version of my code that contains both problems. Thanks in advance for taking a look and helping me out, I appreciate any feedback!

    David-A wrote:
    The 7965 can't stream to a host controller faster than 800MB/s. If you need 1.6GB/s of streaming you'll need to get a 797x FPGA module.  
    I believe the application calls for 1.6 GB over 4s, so 400 MB/s, which should be within the capabilities of the 7965.
    I was going to say something similar about streaming over ethernet. I agree that it's going to be necessary to find a way to buffer most if not all of the data between the RT Target and the FPGA Target. There may be some benefit to starting to send data over the network, but the buffer on the host is still going to need to be quite large. Making use of the BRAMS and RAM on the 7965 is an interesting possibility.
    As a more out there idea, what about replacing the disk in your 8133 with an SSD? I'm not entirely sure what kind of SATA connection is in the 8133, and you'd have to experiment to be sure, but I think 400 MB/s or close to that should be quite possible. You could write all the data to disk and then send it over the network from disk once the aquisiton is complete. http://digital.ni.com/public.nsf/allkb/F3090563C2FC9DC686256CCD007451A8 has some information on using SSDs with PXI Controllers.
    Sebastian

  • Out of Memory error, though nothing has changed?

    I have two large projects, 65mb each, which I have had open in FCP 7 with no problems for months.
    Then I left them closed for a month and worked on other projects.
    Now I can't open either of those two earlier projects without receiving the Out of Memory error (I'm trying to open each one individually). There are many things to look for when this error appears, as found all over this forum and others. So here is my checklist of facts:
    Neither project contains any PSD files or any sequences with text files in them.
    One of those projects contains no sequences whatsoever, only clips.
    All media for these projects is Apple AVC-Intra 100M 1280x720.
    The RAID drive containing the media for these projects has not been used since the last time the projects were open and working fine.
    The edit system has not changed in any way:
    - FCP 7.0.3
    - Mac Pro
    - OS 10.6.6
    - 2x2.66 Quad Core
    - 6 GB RAM
    - LaCie 8TB RAID, with 1.7TB free
    All RAM is functioning fine.
    I've trashed FCP preferences and received the same results anyway.
    Again, both projects were working fine on this same computer, same version of FCP, even with BOTH projects open at once.
    Also, I've been working with other projects on this same system with no problems, some nearly as large as these two.
    So... none of the obvious culprits are at work here to cause this error, unless I'm missing something.
    Anyone have any ideas? This is a bit scary, as these are documentary projects which are only going to get bigger, and I've done projects bigger than this several times without problems. Hopefully I'm missing something simple...
    Thanks.

    I think I found the culprit, and it's an obvious one:
    My original big project, 65mb, had a bin that was created by an assistant before I began work on the project and I never saw it. That bin has sequence strings for every tape/card loaded into the project, so it had about 65 rather long sequences. Once I found it, I moved that bin to its own project and deleted it from the original project.
    Now the original project opens, and I can open multiple projects at once, no Out of Memory error.
    So it's the bin full of sequences that did it. If I had seen that bin before I wouldn't have had to run this up the flagpole here. But at least it reinforces that word of advice that has appeared in many previous posts about this error: Don't overload a project with long sequences. Break up the sequences into smaller projects and archive them.
    And my own addition to that advice: If you're an assistant setting up a project for an editor, make sure your editor knows what sequences you've tucked away in bins hidden inside bins inside bins, etc.
    All good to go! (Until the next error... stand by...)

  • Out of memory error on Final Cut Express

    Hello,
    Ok so quite often we have to record into iMovie6 live (on a Macbook Pro) so that we can get all the content being recorded without gaps (tapes don't last long enough). After the project is imported (and transfered to my Powermac with FCE on it) I would rather use Final Cut Express to edit everything. So after saving the iMovie project I start a new project in FCE and import the files from iMovie. When this happens the audio always needs rendered and often when I render these files it really bogs down my PowerMac G5 and eventually gives me an out of memory error. After looking at Activity Monitor during the rendering, the System Memory just starts to become inactive and then eventually active until all the memory is used. That's usually when I get the memory error in FCE. I have 1GB of memory and I've added another Gig but the result is the same. It appears this is a problem with the app. Anyone have a clue or any ideas? I am using Final Cut Express HD 3.0.1 on my PowerMac.
    Thanks-
    Adam

    Thanks for the comments however I currently have a project that I am trying to get done and these comments don't help right now. Anyone have any advice to speed up the process?
    I just need to render the audio faster without having to reboot all the time. Any other FCE project works fine when rendering audio, it's just the import from iMovie that for some reason soaks up my memory and causes me to have to reboot to get it back.
    Thank you-
    Adam

  • Is this really an out of memory error?

    I get the following output from running the pl/sql script below. I can't believe this is an actual out of memory error because the query involved returns only 51 rows. If I run the cursor query from the command line it takes about 5sec and returns 51 rows. The server this is running on is doing nothing else. We successfully run pl/sql scripts that use huge amounts of memory on this server and have never seen this error.
    Any idea what could be going on here?
    SQL> exec test_obis_admin.find_invalid_dates('royals_census_1984')
    find_invalid_dates
    year collected=1953
    year collected=1953
    year collected=1953
    year collected=1953
    year collected=1953
    year collected=1953
    year collected=1983
    year collected=1983
    year collected=1996
    year collected=1996
    year collected=1996
    year collected=1996
    year collected=1996
    year collected=1996
    year collected=1996
    year collected=1972
    year collected=1972
    year collected=1996
    year collected=1996
    year collected=1996
    year collected=1996
    year collected=1972
    year collected=1972
    year collected=1976
    year collected=1976
    year collected=1976
    year collected=1976
    year collected=1976
    year collected=1976
    BEGIN test_obis_admin.find_invalid_dates('royals_census_1984'); END;
    ERROR at line 1:
    ORA-04030: out of process memory when trying to allocate 16396 bytes (koh-kghusessi,pl/sql vc2)
    -- find and identify rows containing invalid date component
    PROCEDURE find_invalid_dates ( res_name varchar2 ) IS
         date_temp DATE ;
         CURSOR date_components IS SELECT
         a.id,
         a.yearcollected,
         a.monthcollected,
         a.daycollected,
         a.startyearcollected,
         a.startmonthcollected,
         a.startdaycollected,
         a.endyearcollected,
         a.endmonthcollected,
         a.enddaycollected
         FROM expandeddigircache a WHERE a.res_name=res_name ;
         date_fields date_components%ROWTYPE ;
    BEGIN
         print('find_invalid_dates') ;
        OPEN date_components ;
        LOOP
            fetch date_components into date_fields ;
            exit when date_components%NOTFOUND ;
            print('year collected=' || date_fields.yearcollected ) ;
       END loop;
        CLOSE date_components ;
    END find_invalid_dates ;\

    As it turns out this probably was a genuine out of memory error. While I was trying to figure out what was going on, I accidently ran the exact query from the pl/sql procedure.
         CURSOR date_components IS SELECT
         a.id,
         a.res_name ,
         a.yearcollected,
         a.monthcollected,
         a.daycollected,
         a.startyearcollected,
         a.startmonthcollected,
         a.startdaycollected,
         a.endyearcollected,
         a.endmonthcollected,
         a.enddaycollected
         FROM expandeddigircache a WHERE a.res_name=res_name           I was expecting 51 records, I got considerable more before the out of memory error occurred.
         I believe the query as written returns everything in the table. In this case 20mil+ records.
         The fundamental problem was that the parameter to the procedure was called res_name and the where clause tested a column called res_name. pl/sql did not consider them two different names. So I think the net result was a where clause of the form WHERE 'a'='a'
         When I changed the parameter name to p_res_name and the where clause to WHERE res_name=p_res_name the procedure worked as expected.

  • Uploading large files from applet to servlet throws out of memory error

    I have a java applet that needs to upload files from a client machine
    to a web server using a servlet. the problem i am having is that in
    the current scheme, files larger than 17-20MB throw an out of memory
    error. is there any way we can get around this problem? i will post
    the client and server side code for reference.
    Client Side Code:
    import java.io.*;
    import java.net.*;
    // this class is a client that enables transfer of files from client
    // to server. This client connects to a servlet running on the server
    // and transmits the file.
    public class fileTransferClient
    private static final String FILENAME_HEADER = "fileName";
    private static final String FILELASTMOD_HEADER = "fileLastMod";
    // this method transfers the prescribed file to the server.
    // if the destination directory is "", it transfers the file to
    "d:\\".
    //11-21-02 Changes : This method now has a new parameter that
    references the item
    //that is being transferred in the import list.
    public static String transferFile(String srcFileName, String
    destFileName,
    String destDir, int itemID)
    if (destDir.equals(""))
    destDir = "E:\\FTP\\incoming\\";
    // get the fully qualified filename and the mere filename.
    String fqfn = srcFileName;
    String fname =
    fqfn.substring(fqfn.lastIndexOf(File.separator)+1);
    try
    //importTable importer = jbInit.getImportTable();
    // create the file to be uploaded and a connection to
    servlet.
    File fileToUpload = new File(fqfn);
    long fileSize = fileToUpload.length();
    // get last mod of this file.
    // The last mod is sent to the servlet as a header.
    long lastMod = fileToUpload.lastModified();
    String strLastMod = String.valueOf(lastMod);
    URL serverURL = new URL(webadminApplet.strServletURL);
    URLConnection serverCon = serverURL.openConnection();
    // a bunch of connection setup related things.
    serverCon.setDoInput(true);
    serverCon.setDoOutput(true);
    // Don't use a cached version of URL connection.
    serverCon.setUseCaches (false);
    serverCon.setDefaultUseCaches (false);
    // set headers and their values.
    serverCon.setRequestProperty("Content-Type",
    "application/octet-stream");
    serverCon.setRequestProperty("Content-Length",
    Long.toString(fileToUpload.length()));
    serverCon.setRequestProperty(FILENAME_HEADER, destDir +
    destFileName);
    serverCon.setRequestProperty(FILELASTMOD_HEADER, strLastMod);
    if (webadminApplet.DEBUG) System.out.println("Connection with
    FTP server established");
    // create file stream and write stream to write file data.
    FileInputStream fis = new FileInputStream(fileToUpload);
    OutputStream os = serverCon.getOutputStream();
    try
    // transfer the file in 4K chunks.
    byte[] buffer = new byte[4096];
    long byteCnt = 0;
    //long percent = 0;
    int newPercent = 0;
    int oldPercent = 0;
    while (true)
    int bytes = fis.read(buffer);
    byteCnt += bytes;
    //11-21-02 :
    //If itemID is greater than -1 this is an import file
    transfer
    //otherwise this is a header graphic file transfer.
    if (itemID > -1)
    newPercent = (int) ((double) byteCnt/ (double)
    fileSize * 100.0);
    int diff = newPercent - oldPercent;
    if (newPercent == 0 || diff >= 20)
    oldPercent = newPercent;
    jbInit.getImportTable().displayFileTransferStatus
    (itemID,
    newPercent);
    if (bytes < 0) break;
    os.write(buffer, 0, bytes);
    os.flush();
    if (webadminApplet.DEBUG) System.out.println("No of bytes
    sent: " + byteCnt);
    finally
    // close related streams.
    os.close();
    fis.close();
    if (webadminApplet.DEBUG) System.out.println("File
    Transmission complete");
    // find out what the servlet has got to say in response.
    BufferedReader reader = new BufferedReader(
    new
    InputStreamReader(serverCon.getInputStream()));
    try
    String line;
    while ((line = reader.readLine()) != null)
    if (webadminApplet.DEBUG) System.out.println(line);
    finally
    // close the reader stream from servlet.
    reader.close();
    } // end of the big try block.
    catch (Exception e)
    System.out.println("Exception during file transfer:\n" + e);
    e.printStackTrace();
    return("FTP failed. See Java Console for Errors.");
    } // end of catch block.
    return("File: " + fname + " successfully transferred.");
    } // end of method transferFile().
    } // end of class fileTransferClient
    Server side code:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    import java.net.*;
    // This servlet class acts as an FTP server to enable transfer of
    files
    // from client side.
    public class FtpServerServlet extends HttpServlet
    String ftpDir = "D:\\pub\\FTP\\";
    private static final String FILENAME_HEADER = "fileName";
    private static final String FILELASTMOD_HEADER = "fileLastMod";
    public void doGet(HttpServletRequest req, HttpServletResponse resp)
    throws ServletException,
    IOException
    doPost(req, resp);
    public void doPost(HttpServletRequest req, HttpServletResponse
    resp)
    throws ServletException,
    IOException
    // ### for now enable overwrite by default.
    boolean overwrite = true;
    // get the fileName for this transmission.
    String fileName = req.getHeader(FILENAME_HEADER);
    // also get the last mod of this file.
    String strLastMod = req.getHeader(FILELASTMOD_HEADER);
    String message = "Filename: " + fileName + " saved
    successfully.";
    int status = HttpServletResponse.SC_OK;
    System.out.println("fileName from client: " + fileName);
    // if filename is not specified, complain.
    if (fileName == null)
    message = "Filename not specified";
    status = HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
    else
    // open the file stream for the file about to be transferred.
    File uploadedFile = new File(fileName);
    // check if file already exists - and overwrite if necessary.
    if (uploadedFile.exists())
    if (overwrite)
    // delete the file.
    uploadedFile.delete();
    // ensure the directory is writable - and a new file may be
    created.
    if (!uploadedFile.createNewFile())
    message = "Unable to create file on server. FTP failed.";
    status = HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
    else
    // get the necessary streams for file creation.
    FileOutputStream fos = new FileOutputStream(uploadedFile);
    InputStream is = req.getInputStream();
    try
    // create a buffer. 4K!
    byte[] buffer = new byte[4096];
    // read from input stream and write to file stream.
    int byteCnt = 0;
    while (true)
    int bytes = is.read(buffer);
    if (bytes < 0) break;
    byteCnt += bytes;
    // System.out.println(buffer);
    fos.write(buffer, 0, bytes);
    // flush the stream.
    fos.flush();
    } // end of try block.
    finally
    is.close();
    fos.close();
    // set last mod date for this file.
    uploadedFile.setLastModified((new
    Long(strLastMod)).longValue());
    } // end of finally block.
    } // end - the new file may be created on server.
    } // end - we have a valid filename.
    // set response headers.
    resp.setContentType("text/plain");
    resp.setStatus(status);
    if (status != HttpServletResponse.SC_OK)
    getServletContext().log("ERROR: " + message);
    // get output stream.
    PrintWriter out = resp.getWriter();
    out.println(message);
    } // end of doPost().
    } // end of class FtpServerServlet

    OK - the problem you describe is definitely what's giving you grief.
    The workaround is to use a socket connection and send your own request headers, with the content length filled in. You may have to multi-part mime encode the stream on its way out as well (I'm not about that...).
    You can use the following:
    http://porsche.cis.udel.edu:8080/cis479/lectures/slides-04/slide-02.html
    on your server to get a feel for the format that the request headers need to take.
    - Kevin
    I get the out of Memory Error on the client side. I
    was told that this might be a bug in the URLConnection
    class implementation that basically it wont know the
    content length until all the data has been written to
    the output stream, so it uses an in memory buffer to
    store the data which basically causes memory issues..
    do you think there might be a workaround of any kind..
    or maybe a way that the buffer might be flushed after
    a certain size of file has been uploaded.. ?? do you
    have any ideas?

  • Photoshop CS6 has out of memory errors under Mac OS X 10.7.4

    Has anyone who has a 2008 MacBoo Pro with the NVIDIA GeForce 8600M GT 512 MB graphics card tried running Photoshop CS6 under Mac OS X 10.7.4?
    On my MacBook Pro, PS CS6 launches; however, any action results in an out of memory error.  The CS6 versions of After Effects, Premiere Pro and Illustrator all launch and run as expected under 10.7.4.
    If I switch to my Mac OS X 10.6.8 startup volume, Photoshop CS6 runs as expected.
    I have support cases open with Adobe, NVidia and Apple.  Adobe thinks I need to update the display drivers.  NVidia says display drivers must be provided by Apple.  Apple says that the display drivers are current.  The Apple support agent said that he can escalate the case if the issue can be reproduced on more than one computer.
    I'd love to keep my MacBook Pro running another year or so without having to reboot in 10.6.8 every time I need to use Photoshop.  I'd stay with 10.6.8, but of course iCloud requires 10.7.4.
    I have not tried 10.8 yet, but it's on my troubleshooting list.
    Also, PS CS6 runs fine under Mac OS X 10.7.4 on my 2010 iMac.
    Thanks in advance for any feedback.
    - Warren

    It looks like it was indeed the display driver for the NVIDIA GeForce 8600 GT 512 MB graphics card inside my 2008 MacBook Pro.
    It seems that this driver only gets installed if you upgrade from Mac OS X 10.6.7 to 10.7.4 while the startup drive is connected to the MacBook Pro itself.  I had updated while the startup drive was connected to my 2010 iMac. Accordingly, I could have reinstalled Photoshop 100 times without it ever launching as expected.  Having used the external startup drive with three other Apple computers (all 2010 or newer machines) with Photoshop CS6 launching as expected, I had just assumed (mistakenly) that it would work as expected with my 2008 computer.
    So, this was simple enough to resolve by upgrading the OS on the external startup drive while having it connected to the MacBook Pro.   In hindsight, this makes perfect sense.
    -Warren

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

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

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

  • Out of memory error in IBM JVM

    Hi i am using websphere application server's dyna cache for getting performance optimiztion in my application.
    I am able to load values into the cache using the command cache api in the dyna cache.When i clear the cache for loading another set of values the cache gets cleared but still ,while loading the second set of values i get an out of memory error
    The dynacache is an distributed map
    i want to know whether the error is due to improper garbage collection
    on this map,if so help me to overcome this
    The JVM configuration are as follows
    Min 256mb
    Max 768mb
    I have a total of 1Gb ram

    Maybe your program's memory usage is rubbing against the upper limit, and something about the latest JVM caused it to break through.
    Try using the command line parameter -mx500m (for 500 megs or whatever amount you neeed)

  • Out of memory Error in OBIEE11.1.1.6.7 RPD

    Hi All,
    While merging two RPD's in 11.1.1.6.7 using two way and three merging we are getting 'Out of memory' error.
    Please guide me how to resolve this type of issues.
    THanks,
    Siva.

    Did you try patch merge .? I feel this is more trustworthy than full merge. :)
    Usually when you try to merge two different huge rpds like the OOTB one's with many changes in both and your less available system resources its often gives you that out of memory error.
    I suggest you bring down all services while performing this merge and its always better to equalize the objects first and then do a merge either three or two way.! instead of equalizing during the merge.
    More about equalization could be found here : http://docs.oracle.com/cd/E14571_01/bi.1111/e10540/mngreposfiles.htm#autoId2
    Hope this helps!
    Thanks,
    SVS

Maybe you are looking for

  • Printing Problem with HP 5650

    HI, My printer work well so far, until my wife try to print a document while the printer was not connected to the power line. Since printer refuse to print, jobs go to queue...uninstall printer software but laptop does not allow me to either add, edi

  • IPad and iPhone Remote app no longer see my AppleTV (1st Generation)

    For months, I've been using the Remote app from my iPad to control my first generation AppleTV. When I got an iPhone 4 and got the Remote app for it, I tried to do the same thing, but now AppleTV will not recognize my iPhone 4, and no longer recogniz

  • No longer able to convert PDF files to Word.

    Up until a couple of days ago I could convert PDF files to Word.  Why can't I now?

  • Standard Web templates

    Hi, BI Content offers Web Templates for each module (FI/CO, MM, SD, etc). What are these and how can I use them? Thanks "<i>False words are not only evil in themselves, but they infect the soul with evil.</i>" ~ Plato, Greek author & philosopher in A

  • Help formatting Hard Drive for best compatibility with Mac OSX 10.5!

    I have a 1TB hard drive that I recently purchased. I would like for format it for best compatibility with Leopard. I must be doing something wrong because everything I try, I get an error. Here's the details of my drive. What do I need to do in Disk