30EA1: 100% CPU until out of Java Heap space
Hi,
Just my initial 20 minute eval of the new 3.0, and already had 2 lockups on my XP and 10g DB; 1 on opening the Tasks view (just keeps looking for application tasks, with progress bar), the other on opening the Query Builder tab (keeps Loading available objects and relationships, with hourglass). No exceptions in the debug console until running out of heap space.
Hope these get reviewed and debugged before production,
K.
After about 10 minutes, it stopped, so I switched from from Current Project to Current Application and back again to get going again.
Now memory use just continued growing, until after about 10 minutes, my main sqldev window just disappeared. I was just in time to capture a dump before the console also disappeared on its own:
Full thread dump Java HotSpot(TM) Client VM (14.2-b01 mixed mode, sharing):
"Thread-4" prio=6 tid=0x0632f400 nid=0x1570 runnable [0x0e9bf000]
java.lang.Thread.State: RUNNABLE
at sun.reflect.Reflection.getClassAccessFlags(Native Method)
at sun.reflect.Reflection.quickCheckMemberAccess(Reflection.java:51)
at java.lang.reflect.Method.invoke(Method.java:576)
at oracle.javatools.marshal.xml.PropertyInfo.getPropertyValue(PropertyInfo.java:128)
at oracle.ide.marshal.xml.Object2Dom.toElement(Object2Dom.java:772)
at oracle.ide.marshal.xml.Object2Dom.toElement(Object2Dom.java:433)
at oracle.ide.marshal.xml.List2Dom.toElement(List2Dom.java:48)
at oracle.ide.marshal.xml.Object2Dom.toElement(Object2Dom.java:760)
at oracle.ide.marshal.xml.Object2Dom.toElement(Object2Dom.java:433)
at oracle.ide.marshal.xml.Map2Dom.getValueElement(Map2Dom.java:215)
at oracle.ide.marshal.xml.Map2Dom.toElement(Map2Dom.java:84)
at oracle.ide.marshal.xml.Object2Dom.toElement(Object2Dom.java:760)
at oracle.ide.marshal.xml.Object2Dom.toElement(Object2Dom.java:433)
at oracle.ide.marshal.xml.Object2Dom.toElement(Object2Dom.java:794)
at oracle.ide.marshal.xml.Object2Dom.toElement(Object2Dom.java:433)
at oracle.ide.marshal.xml.Map2Dom.getValueElement(Map2Dom.java:215)
at oracle.ide.marshal.xml.Map2Dom.toElement(Map2Dom.java:84)
at oracle.ide.marshal.xml.Object2Dom.toElement(Object2Dom.java:760)
at oracle.ide.marshal.xml.Object2Dom.toDocument(Object2Dom.java:209)
at oracle.ide.marshal.xml.Object2Dom.toDocument(Object2Dom.java:158)
at oracle.ide.marshal.xml.Object2Dom.toDocument(Object2Dom.java:148)
at oracle.ide.config.DTCache.save(DTCache.java:252)
at oracle.dbtools.raptor.config.NonUserConfigOptions.saveSettings(NonUserConfigOptions.java:25)
at oracle.dbtools.raptor.config.NonUserConfigOptions.put(NonUserConfigOptions.java:29)
at oracle.dbtools.raptor.config.NonUserConfigOptions.removeUserAgent(NonUserConfigOptions.java:52)
at oracle.dbtools.migration.workbench.core.MigrationAddin.updateUserAgentString(MigrationAddin.java:1075)
at oracle.dbtools.migration.workbench.core.MigrationAddin.access$000(MigrationAddin.java:111)
at oracle.dbtools.migration.workbench.core.MigrationAddin$1.run(MigrationAddin.java:285)
"SIGINT handler" daemon prio=10 tid=0x064d7400 nid=0x11c8 in Object.wait() [0x0612f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Thread.join(Thread.java:1143)
- locked <0x177b00d8> (a oracle.dbtools.migration.workbench.core.MigrationAddin$1)
at java.lang.Thread.join(Thread.java:1196)
at java.lang.ApplicationShutdownHooks.runHooks(ApplicationShutdownHooks.java:79)
at java.lang.ApplicationShutdownHooks$1.run(ApplicationShutdownHooks.java:24)
at java.lang.Shutdown.runHooks(Shutdown.java:79)
at java.lang.Shutdown.sequence(Shutdown.java:123)
at java.lang.Shutdown.exit(Shutdown.java:168)
- locked <0x2b7de638> (a java.lang.Class for java.lang.Shutdown)
at java.lang.Terminator$1.handle(Terminator.java:35)
at sun.misc.Signal$1.run(Signal.java:195)
at java.lang.Thread.run(Thread.java:619)
"RaptorTask: StatementRunner Task" prio=6 tid=0x06366000 nid=0xe88 waiting on condition [0x0597f000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x17a5d908> (a java.util.concurrent.SynchronousQueue$TransferStack)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:422)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323)
at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:857)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
"ToDoQueryTask" prio=6 tid=0x0644e000 nid=0x184 waiting on condition [0x05b7f000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x1eaf25a0> (a java.util.concurrent.FutureTask$Sync)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:747)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:905)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1217)
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:218)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at oracle.ideimpl.index.task.BackgroundTaskImpl.get(BackgroundTaskImpl.java:44)
at oracle.ideimpl.index.IndexImpl$IndexTask.get(IndexImpl.java:708)
at oracle.jdevimpl.todo.ToDoManagerImpl$SearchForTagsTask.run(ToDoManagerImpl.java:2226)
at java.lang.Thread.run(Thread.java:619)
"file-table-thread-1" prio=6 tid=0x06478400 nid=0x1674 waiting on condition [0x0ecbf000]
java.lang.Thread.State: RUNNABLE
at java.util.Arrays.copyOf(Arrays.java:2882)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:461)
at java.lang.StringBuilder.append(StringBuilder.java:179)
at oracle.ide.net.URLFactory.sanitizePath(URLFactory.java:710)
at oracle.ide.net.URLFactory.newDirURL(URLFactory.java:496)
at oracle.ide.net.URLFactory.newDirURL(URLFactory.java:518)
at oracle.ide.net.FileURLFileSystemHelper.getParent(FileURLFileSystemHelper.java:353)
at oracle.ide.net.URLFileSystemHelperDecorator.getParent(URLFileSystemHelperDecorator.java:164)
at oracle.ide.net.URLFileSystemHelperDecorator.getParent(URLFileSystemHelperDecorator.java:164)
at oracle.ide.net.VirtualFileSystemHelper.getActiveRoot(VirtualFileSystemHelper.java:2320)
- locked <0x17601f50> (a java.util.HashMap)
at oracle.ide.net.VirtualFileSystemHelper.findOrFetchDirEntry(VirtualFileSystemHelper.java:2036)
at oracle.ide.net.VirtualFileSystemHelper.ls(VirtualFileSystemHelper.java:688)
at oracle.ide.net.VirtualFileSystemHelper.ls(VirtualFileSystemHelper.java:675)
at oracle.ide.net.URLFileSystemHelperDecorator.ls(URLFileSystemHelperDecorator.java:259)
at oracle.ide.net.URLFileSystem.ls(URLFileSystem.java:1152)
at oracle.ideimpl.index.file.DirFileTable.updateDir(DirFileTable.java:299)
at oracle.ideimpl.index.file.DirFileTable.processQueue(DirFileTable.java:288)
at oracle.ideimpl.index.file.DirFileTable.fullUpdate(DirFileTable.java:201)
at oracle.ideimpl.index.file.DirFileTable.updateFileTable(DirFileTable.java:136)
at oracle.ideimpl.index.file.AbstractFileTable.update(AbstractFileTable.java:379)
at oracle.ideimpl.index.file.AbstractFileTable$FileTableUpdater.call(AbstractFileTable.java:914)
at oracle.ideimpl.index.file.AbstractFileTable$FileTableUpdater.call(AbstractFileTable.java:903)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
"index-query-thread-1" prio=6 tid=0x0646a400 nid=0xb68 waiting on condition [0x0eabf000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x1f216380> (a java.util.concurrent.FutureTask$Sync)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:747)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:905)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1217)
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:218)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at oracle.ideimpl.index.task.BackgroundTaskImpl.get(BackgroundTaskImpl.java:44)
at oracle.ideimpl.index.file.FileTableManagerImpl.getFileTable(FileTableManagerImpl.java:106)
at oracle.ideimpl.index.IndexRoot.lock(IndexRoot.java:296)
at oracle.ideimpl.index.IndexImpl.lock(IndexImpl.java:161)
at oracle.ideimpl.index.IndexImpl$IndexQuery.call(IndexImpl.java:510)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
"Image Animator 3" daemon prio=4 tid=0x062cc000 nid=0x268 waiting for monitor entry [0x0776f000]
java.lang.Thread.State: BLOCKED (on object monitor)
at java.awt.Frame.getExtendedState(Frame.java:743)
- waiting to lock <0x1755c688> (a oracle.ideimpl.MainWindowImpl)
at javax.swing.RepaintManager.addDirtyRegion0(RepaintManager.java:419)
at javax.swing.RepaintManager.addDirtyRegion(RepaintManager.java:465)
at javax.swing.JComponent.repaint(JComponent.java:4734)
at java.awt.Component.imageUpdate(Component.java:3297)
at sun.awt.image.ImageWatched$WeakLink.newInfo(ImageWatched.java:114)
at sun.awt.image.ImageWatched.newInfo(ImageWatched.java:151)
at sun.awt.image.ImageRepresentation.imageComplete(ImageRepresentation.java:649)
at sun.awt.image.ImageDecoder.imageComplete(ImageDecoder.java:135)
at sun.awt.image.GifFrame.dispose(GifImageDecoder.java:645)
at sun.awt.image.GifImageDecoder.readImage(GifImageDecoder.java:441)
at sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:195)
at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
"IconOverlayTracker Timer" prio=6 tid=0x0645e800 nid=0xe30 in Object.wait() [0x0786f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x18d3ffe0> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"status-0" prio=2 tid=0x06440400 nid=0x12c4 waiting on condition [0x0577f000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x17812428> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
at java.util.concurrent.DelayQueue.take(DelayQueue.java:160)
at oracle.ide.status.StatusExecutor$StatusQueue.take(StatusExecutor.java:329)
at oracle.ide.status.StatusExecutor$StatusQueue.take(StatusExecutor.java:291)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
"WaitCursor-Timer" prio=6 tid=0x063a2400 nid=0x111c in Object.wait() [0x0756f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x185b32e8> (a java.util.TaskQueue)
at java.lang.Object.wait(Object.java:485)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x185b32e8> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"Native Directory Watcher" prio=2 tid=0x0629d800 nid=0x1788 runnable [0x0746f000]
java.lang.Thread.State: RUNNABLE
at oracle.ide.natives.NativeHandler.enterWatcherThread(Native Method)
at oracle.ide.natives.NativeHandler$2.run(NativeHandler.java:252)
at java.lang.Thread.run(Thread.java:619)
"Background Parser" prio=6 tid=0x0634ec00 nid=0x434 waiting on condition [0x0736f000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at oracle.dbtools.raptor.plsql.BackgroundParser$1.construct(BackgroundParser.java:127)
at oracle.dbtools.raptor.utils.NamedSwingWorker$2.run(NamedSwingWorker.java:115)
at java.lang.Thread.run(Thread.java:619)
"Background Parser" prio=6 tid=0x04cd1800 nid=0x1378 waiting on condition [0x0726f000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at oracle.dbtools.raptor.plsql.BackgroundParser$1.construct(BackgroundParser.java:127)
at oracle.dbtools.raptor.utils.NamedSwingWorker$2.run(NamedSwingWorker.java:115)
at java.lang.Thread.run(Thread.java:619)
"TextBufferScavenger" prio=6 tid=0x04ae7400 nid=0x11b4 in Object.wait() [0x05e7f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x1839ca00> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
- locked <0x1839ca00> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
at oracle.ide.model.TextNode$FacadeBufferReference$PollingThread.run(TextNode.java:1949)
"Checkpointer" daemon prio=6 tid=0x04d0dc00 nid=0x564 in Object.wait() [0x05d7f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x18023560> (a java.lang.Object)
at java.lang.Object.wait(Object.java:485)
at com.sleepycat.je.utilint.DaemonThread.run(DaemonThread.java:152)
- locked <0x18023560> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:619)
"INCompressor" daemon prio=6 tid=0x04d0d800 nid=0x10b4 in Object.wait() [0x05c7f000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at com.sleepycat.je.utilint.DaemonThread.run(DaemonThread.java:154)
- locked <0x18023528> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:619)
"BaseTreeExplorer.NodeOpeningExecutor" prio=6 tid=0x03925400 nid=0x14c0 waiting on condition [0x05a7f000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x17a650c0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
"Scheduler" daemon prio=6 tid=0x04ad4800 nid=0x1514 in Object.wait() [0x0587f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at oracle.dbtools.raptor.backgroundTask.TaskLinkedList.takeNextTask(TaskLinkedList.java:47)
- locked <0x17a5d308> (a oracle.dbtools.raptor.backgroundTask.TaskLinkedList)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$SchedulerThread.run(RaptorTaskManager.java:429)
"ChangeSetService" prio=2 tid=0x04ac9000 nid=0x1740 in Object.wait() [0x0567f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x178db328> (a oracle.jdevimpl.vcs.changeset.ChangeSetService)
at java.lang.Object.wait(Object.java:485)
at oracle.jdevimpl.vcs.changeset.ChangeSetService.awaitEvents(ChangeSetService.java:178)
- locked <0x178db328> (a oracle.jdevimpl.vcs.changeset.ChangeSetService)
at oracle.jdevimpl.vcs.changeset.ChangeSetService.eventLoop(ChangeSetService.java:199)
at oracle.jdevimpl.vcs.changeset.ChangeSetService.access$200(ChangeSetService.java:56)
at oracle.jdevimpl.vcs.changeset.ChangeSetService$2.run(ChangeSetService.java:138)
at java.lang.Thread.run(Thread.java:619)
"TimerQueue" daemon prio=6 tid=0x04a2b800 nid=0x10a4 in Object.wait() [0x0516f000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at javax.swing.TimerQueue.postExpiredTimers(TimerQueue.java:218)
- locked <0x175e7768> (a javax.swing.TimerQueue)
at javax.swing.TimerQueue.run(TimerQueue.java:234)
- locked <0x175e7768> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Thread.java:619)
"TimedCache-Timer" daemon prio=6 tid=0x03975c00 nid=0x113c in Object.wait() [0x03cdf000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at java.util.TimerThread.mainLoop(Timer.java:483)
- locked <0x17204200> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"JarIndex Timer" daemon prio=6 tid=0x0396c400 nid=0x1058 in Object.wait() [0x040ef000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.util.TimerThread.mainLoop(Timer.java:509)
- locked <0x171e8d50> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)
"AWT-EventQueue-0" prio=6 tid=0x02fbc400 nid=0x998 runnable [0x03fdf000]
java.lang.Thread.State: RUNNABLE
at sun.awt.windows.WFramePeer.getState(Native Method)
at java.awt.Frame.getExtendedState(Frame.java:745)
- locked <0x1755c688> (a oracle.ideimpl.MainWindowImpl)
at oracle.bali.ewt.olaf2.OracleRootPaneUI._isResizable(OracleRootPaneUI.java:210)
at oracle.bali.ewt.olaf2.OracleRootPaneUI.access$400(OracleRootPaneUI.java:44)
at oracle.bali.ewt.olaf2.OracleRootPaneUI$ResizeComponent.getWidth(OracleRootPaneUI.java:335)
at javax.swing.JComponent.getBounds(JComponent.java:4178)
at javax.swing.JComponent.getObscuredState(JComponent.java:5171)
at javax.swing.JComponent._paintImmediately(JComponent.java:4984)
at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
"AWT-Shutdown" prio=4 tid=0x03830400 nid=0x17e4 in Object.wait() [0x03edf000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
- locked <0x171ae868> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:619)
"Java2D Disposer" daemon prio=10 tid=0x03019400 nid=0xbc0 in Object.wait() [0x03bdf000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
- locked <0x171ae8f8> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
at sun.java2d.Disposer.run(Disposer.java:125)
at java.lang.Thread.run(Thread.java:619)
"Low Memory Detector" daemon prio=6 tid=0x02f99c00 nid=0xd70 runnable [0x00000000]
java.lang.Thread.State: RUNNABLE
"CompilerThread0" daemon prio=10 tid=0x02f93c00 nid=0xbe4 waiting on condition [0x00000000]
java.lang.Thread.State: RUNNABLE
"Attach Listener" daemon prio=10 tid=0x02f92400 nid=0xf40 runnable [0x00000000]
java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" daemon prio=10 tid=0x02f91000 nid=0x17f4 waiting on condition [0x00000000]
java.lang.Thread.State: RUNNABLE
"Finalizer" daemon prio=8 tid=0x02f4f000 nid=0xa90 in Object.wait() [0x0332f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
- locked <0x17130288> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
"Reference Handler" daemon prio=10 tid=0x02f4dc00 nid=0x17ec in Object.wait() [0x0322f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x17130310> (a java.lang.ref.Reference$Lock)
"main" prio=6 tid=0x00bb7800 nid=0x17b8 waiting on condition [0x00000000]
java.lang.Thread.State: RUNNABLE
"VM Thread" prio=10 tid=0x02f4c000 nid=0x17dc runnable
"VM Periodic Task Thread" prio=10 tid=0x02fa4000 nid=0x83c waiting on condition
JNI global references: 11823
Heap
def new generation total 14208K, used 14203K [0x161d0000, 0x17130000, 0x17130000)
eden space 12672K, 100% used [0x161d0000, 0x16e30000, 0x16e30000)
from space 1536K, 99% used [0x16fb0000, 0x1712ef00, 0x17130000)
to space 1536K, 0% used [0x16e30000, 0x16e30000, 0x16fb0000)
tenured generation total 189056K, used 189056K [0x17130000, 0x229d0000, 0x229d0000)
the space 189056K, 100% used [0x17130000, 0x229d0000, 0x229d0000, 0x229d0000)
compacting perm gen total 43520K, used 43279K [0x229d0000, 0x25450000, 0x2a9d0000)
the space 43520K, 99% used [0x229d0000, 0x25413e80, 0x25414000, 0x25450000)
ro space 8192K, 67% used [0x2a9d0000, 0x2af39040, 0x2af39200, 0x2b1d0000)
rw space 12288K, 54% used [0x2b1d0000, 0x2b84d348, 0x2b84d400, 0x2bdd0000)So with a slightly different outcome from yesterday, when I was logically using more of sqldev. That gave me a lot of out of memory exceptions before sqldev become unusable. I eventually killed it myself.
I haven't reproduced the query builder situation (yet), but as it's internal query is almost as long as this one, it might very well be the same or a related issue.
Hope that helps,
K.
Similar Messages
-
Large Report Errors out with Java Heap Space in EBS 12.0.6
When running custom or Standard BI report that have a huge data , we get a following error in EBS
[UNEXPECTED] [156627:RT4605044] java.lang.OutOfMemoryError: Java heap space
at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:45)
at java.lang.StringBuffer.<init>(StringBuffer.java:91)
at oracle.apps.xdo.template.fo.FOHandler.init(FOHandler.java:161)
at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:335)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1045)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:259)
at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
We have tried the follwing workaroud mentioned in the docoment 737311.1
A)
1)update FND_CP_SERVICES set DEVELOPER_PARAMETERS =
'J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx5120m'
where SERVICE_ID = (select MANAGER_TYPE from FND_CONCURRENT_QUEUES
where CONCURRENT_QUEUE_NAME = 'FNDCPOPP');
2)As XML Publisher Administrator navigate to Administration->Configuration.
Under Temporary Directory pick a temporary file location on your concurrent processing node. This should be at least 5GB or 20x larger than largest XML data file you generate
Under FO Processing, set:
Use XML Publisher's XSLT processor set to True
Enable scalable feature of XSLT processor set to False (see #4 below),
Enable XSLT runtime optimization set to True
3)We also have tried to to apply the workaround mentioned in the document 747750.1
In to Concurrent -> Program -> Define, in the 'Executable' group, there is a field named 'Options'.
Enter the value '-ms1024m -mx1024m' as the value for this field.
None of these seem to have worked.
Also refered to the the previous forum entries on these. But did not find anything specific to EBS. Most of them were related to Standalone installations.
CAn anyone help me.
Dhaval Khi gurus
The problem has sovled.I supplyed the wrong file for the rawfile.conf,everything was fine after I provided the corrent one.
Thanks for your time. -
Out of memory: Java heap space
Hello,
I am working on a project, that simulates large populations, with each individual being a separate Objecta(a couple of kilobytes in size each).
Once i reach a bug enough number of those Objects (stored in a Vector), i get Out of memory: Java heap space exception.
Am i having a memory leak in Java? Or am i really reaching the maximal JVM limit and i need to reconfigure it, to support larger heap size?
:)Am i having a memory leak in Java?Because of garbage collection there, by far and large, aren't memory leaks in java. However, there certainly is memory waste.
If each of these objects you make room for are unnecessarily laden with references to other large objects creating huge networks of objects that never free their memory, and then you allocate 1 million of them, then, while not a leak, you are wasting your memory space.
Look through your class and inspect each field to see if any of them could be holding more data than you intend. If so, multiply the amount of that data by 1,000,000 or however many objects you are going to instantiate to determine if this produces and absurd amount of memory. You should be able to predict ~how much storage your data will need...each char is 2bytes, each int is 4 bytes, doubles are 8 etc -
Exception in thread "AWT-Event Queue 0" Mem Out of Bounds. Java Heap Space
Hello,
I'm not sure how to resolve this Java Heap Space Memory Out of Bounds error. Could someone please assist me with this error?
A SCENARIO:
I am reading in tons of data from 5 separate text files. The files have tons of rows (up to 64,220 in one). The data must be read into the program and assembled. When I have all of the files populated, I receive the OOM Error. If I remove the data from one of the 5 files the program runs successfully. If I add the data back into the file and then remove the data from some other file, the program runs successfully.
Thanks
RodneyMff.skip(18);
i = ff.read();
i = ((ff.read() << 8) | i);
i = ((ff.read() << 16) | i);
i = ((ff.read() << 24) | i);
xsize = i;
System.out.println("width=" + xsize);
i = 0;
i = ff.read();
i = ((ff.read() << 8) | i);
i = ((ff.read() << 16) | i);
i = ((ff.read() << 24) | i);
ysize = i;
System.out.println("Height=" + ysize);
ff.skip(38);//62-(2+16+4+4=26)=36, actually total=62 Bytes header This is completely wrong. First an foremost you should not have this code in the paint(Graphics g) method. This is a GUI thing. The paint method may be called for any reason and you do not+ want to open a file stream, read it, and do the distance transformation every single time the method is called. There's also the issue that you have overridden the paint method as opposed to subclassing a component, overriding the paintComponent method, and adding it to the frame. But that can be ignored for right now (it will come back later and cause complications).
Next, you've said that the header is 62 bytes. This is incorrect for a png file. The code you have posted assumes (very specifically) that you have inputted a BMP version 3 with 2-color entry palette. In other words you can only open a very specific type of image with that code. Definitely not a png. This is what was causing the out of memory error since it interprets the width and height wrong when reading the bytes and you end up trying to create a 2-D int array that will take up several hundred megabytes in size
//xsize and ysize are interpreted wrongly
pix=new int[xsize][ysize];
mat1=new int[xsize][ysize]; Now granted, BMP v3 is the most common type you will encounter but you must admit that the code is not very robust at all (since it requires a very specific input). -
Dbca errors out with java.lang.OutOfMemoryError: Java heap space
hi gurus
I am trying to use DBCA to create a 10.2.0.4 database on a HP platform.DBCA hangs at the step 6 and following message can be seen in the
trace.log:
java.lang.OutOfMemoryError: Java heap space
I googled and modified the DBCA scripts content from
# Run DBCA
$JRE_DIR/bin/java -Dsun.java2d.font.DisableAlgorithmicStyles=true -DORACLE_HOME=$OH -DDISPLAY=$DISPLAY -DJDBC_PROTOCOL=thin -mx128m
-classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
to
# Run DBCA
$JRE_DIR/bin/java -Dsun.java2d.font.DisableAlgorithmicStyles=true -DORACLE_HOME=$OH -DDISPLAY=$DISPLAY -DJDBC_PROTOCOL=thin -mx256m
-classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
and rerun the DBCA and the problem still there.
How to solve this problem?
Thanks !
Edited by: KevinMao on Mar 31, 2010 2:39 AM
Edited by: KevinMao on Mar 31, 2010 2:42 AMhi gurus
The problem has sovled.I supplyed the wrong file for the rawfile.conf,everything was fine after I provided the corrent one.
Thanks for your time. -
Java heap space error: OutOfMemoryError
Hi,
We are getting below error when we XML Publisher report.
Oracle XML Publisher version is: 5.6.3
We have followed below things to get rid off this error but there is no success.
Log in as XML Publisher Administrator.
Select Templates, then query up the Template for your report.
Select Edit Configuration:
Under FO Processing
Use XML Publisher's XSLT processor set to True
Enable scalable feature of XSLT processor set to True
Enable XSLT runtime optimization set to True.
Set the JVM Heap size using following SQL query
SQL> update FND_CP_SERVICES
set DEVELOPER_PARAMETERS =
'J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx2048m'
where SERVICE_ID =
(select MANAGER_TYPE
from FND_CONCURRENT_QUEUES
where CONCURRENT_QUEUE_NAME = 'FNDCPOPP');
Set the following properties from XML Publisher Administration
Responsibility=>Administration UI
General => Temporary directory => \tmp
directory tmp has full read and write access
After above steps performed, bounced CM but still getting below error.
Please provide your valuable suggestions or work arounds on this issue.
Complete error is as below:
[122613_114019363][][EXCEPTION] [DEBUG] [sun.cpu.endian]:[little]
[122613_114019363][][EXCEPTION] [DEBUG] [sun.cpu.isalist]:[]
--XDOException
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:677)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:425)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:244)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5936)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:684)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2882)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
at java.lang.StringBuffer.append(StringBuffer.java:224)
at oracle.xdo.parser.v2.XMLNSNode.getText(XMLNSNode.java:741)
at oracle.xdo.parser.v2.XMLNSNode.getText(XMLNSNode.java:739)
at oracle.xdo.parser.v2.XMLNSNode.getText(XMLNSNode.java:739)
at oracle.xdo.parser.v2.XSLExprItem.getStringValue(XSLExprItem.java:318)
at oracle.xdo.parser.v2.XSLExprItem.compareVal(XSLExprItem.java:445)
at oracle.xdo.parser.v2.XSLExprValue.compare(XSLExprValue.java:881)
at oracle.xdo.parser.v2.ComparisonExpr.evaluate(XSLExpr.java:1469)
at oracle.xdo.parser.v2.XSLCondition.testCondition(XSLCondition.java:185)
at oracle.xdo.parser.v2.XSLCondition.processAction(XSLCondition.java:165)
at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
at oracle.xdo.parser.v2.XSLTemplate.processAction(XSLTemplate.java:191)
at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:512)
at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)1. Have you tried also with 'mx1024m' ?
2. Have you run CMCLEAN ?
3. What are these profiles set to:
Concurrent:OPP Process Timeout
Concurrent:OPP Response Timeout
Thank you
Eugen -
Java Heap Space error while reading from Excel
Hello,
I have a data flow which reads from excel and updates records in an oracle table.
When the data flow tries to read the excel I get a java Heap space Error.
Error preparing to read <SUPP_STG3_FILE1>: <Java heap space>.
Data flow <DF_SUPP_STG3_UPD> is terminated due to error <58105>.
I have configured Excel Adapter since the server is on UNIX. BOExcelAdapter shows status as red once the execution fails. Before that BOExcel adapter status is green.
BOExcelAdapter Trace:
1/13/12 10:57:38 PM Thread[Thread-6,5,main] Received an error message from the message broker. [Communication failure. Read timed out]. Will exit adapter immediately.
1/13/12 10:57:47 PM Thread[main,5,main] Create broker client for life-cycle management. Host:port = hikalxboes01:4001
1/13/12 10:57:47 PM Thread[main,5,main] Create broker client for data exchange with ASP. Host:port = hikalxboes01:4001. Client ID = com.acta.adapter.msexceladapter.MSExcelAdapter.data_18
1/13/12 10:57:47 PM Thread[Thread-11,5,main] Create broker client for real-time services with ASP. Host:port = 'hikalxboes01:4000''.
1/13/12 10:57:47 PM Thread[Thread-11,5,main] Start instance [BOExcelAdapter] of adapter [com.acta.adapter.msexceladapter.MSExcelAdapter].
1/13/12 10:57:47 PM Thread[Thread-11,5,main] Register the client ID [com.acta.adapter.msexceladapter.MSExcelAdapter.data_18] and adapter destination [hikalxboes01:4001] with the adapter manager.
1/13/12 10:57:47 PM Thread[Thread-11,5,main] Registration complete.
1/13/12 10:58:10 PM Thread[Thread-10,5,main] java.lang.OutOfMemoryError: Java heap space
at org.apache.poi.hssf.usermodel.HSSFRow.addCell(HSSFRow.java:273)
at org.apache.poi.hssf.usermodel.HSSFRow.createCellFromRecord(HSSFRow.java:196)
at org.apache.poi.hssf.usermodel.HSSFSheet.setPropertiesFromSheet(HSSFSheet.java:183)
at org.apache.poi.hssf.usermodel.HSSFSheet.<init>(HSSFSheet.java:128)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:283)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:196)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:178)
at com.acta.adapter.msexceladapter.MSExcelAdapterReadTable.begin(MSExcelAdapterReadTable.java:537)
at com.acta.adapter.sdk.StreamOperationWrapper.beginStream(StreamOperationWrapper.java:88)
at com.acta.adapter.sdk.AdapterRunnerImpl.processBeginOperation(AdapterRunnerImpl.java:1762)
at com.acta.adapter.sdk.AdapterServiceDataListener.handleBrokerMessage(AdapterServiceDataListener.java:90)
at com.acta.brokerclient.BrokerClient.handleMessage(BrokerClient.java:439)
at com.acta.brokerclient.BrokerClient.access$100(BrokerClient.java:53)
at com.acta.brokerclient.BrokerClient$MessageHandler.run(BrokerClient.java:1621)
at com.acta.brokerclient.ThreadPool$PoolThread.run(ThreadPool.java:100)
BOExcelAdapter Error Log:
1/13/12 10:58:10 PM java.lang.OutOfMemoryError: Java heap space
at org.apache.poi.hssf.usermodel.HSSFRow.addCell(HSSFRow.java:273)
at org.apache.poi.hssf.usermodel.HSSFRow.createCellFromRecord(HSSFRow.java:196)
at org.apache.poi.hssf.usermodel.HSSFSheet.setPropertiesFromSheet(HSSFSheet.java:183)
at org.apache.poi.hssf.usermodel.HSSFSheet.<init>(HSSFSheet.java:128)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:283)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:196)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:178)
at com.acta.adapter.msexceladapter.MSExcelAdapterReadTable.begin(MSExcelAdapterReadTable.java:537)
at com.acta.adapter.sdk.StreamOperationWrapper.beginStream(StreamOperationWrapper.java:88)
at com.acta.adapter.sdk.AdapterRunnerImpl.processBeginOperation(AdapterRunnerImpl.java:1762)
at com.acta.adapter.sdk.AdapterServiceDataListener.handleBrokerMessage(AdapterServiceDataListener.java:90)
at com.acta.brokerclient.BrokerClient.handleMessage(BrokerClient.java:439)
at com.acta.brokerclient.BrokerClient.access$100(BrokerClient.java:53)
at com.acta.brokerclient.BrokerClient$MessageHandler.run(BrokerClient.java:1621)
at com.acta.brokerclient.ThreadPool$PoolThread.run(ThreadPool.java:100)As Jay mentioned above it might be due to the size of the Excel spreadsheet as you might be hitting the limitation in Apache POI library used for adapter.
What is the size of the Excel file?
What is the value of -Xmx parameter - see DS Management Console > Adapter configuration page.
Thank you,
Viacheslav. -
OutOfMemoryError: Java heap space
Hi There
i am facing som problem in my one of concurrent manager (Output Post Processor) and its showing value of Actual 2 and Target 3 and getting some exception in one of process's log which as follwos.
Exception in thread "PacketReceiver for [172.20.2.11:15028]" java.lang.OutOfMemoryError: Java heap space
at java.net.SocketInputStream.read(SocketInputStream.java:181)
at oracle.ias.cache.group.HttpHandler.read(Unknown Source)
at oracle.ias.cache.group.StreamHandler.read(Unknown Source)
at oracle.ias.cache.group.EndPoint.read(Unknown Source)
at oracle.ias.cache.group.PacketReceiver.run(Unknown Source)
Exception in thread "OPPAQMON:206703" java.lang.OutOfMemoryError: Java heap space
at oracle.jdbc.driver.T4CMAREngine.unmarshalDALC(T4CMAREngine.java:2125)
at oracle.jdbc.driver.T4C8TTIrxh.unmarshalV10(T4C8TTIrxh.java:119)
at oracle.jdbc.driver.T4CTTIiov.unmarshalV10(T4CTTIiov.java:188)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:614)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:191)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:950)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1225)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3488)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3857)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
at oracle.apps.fnd.cp.opp.OPPAQMonitor.waitForMessage(OPPAQMonitor.java:429)
at oracle.apps.fnd.cp.opp.OPPAQMonitor.run(OPPAQMonitor.java:114)
at java.lang.Thread.run(Thread.java:619)
please help me out how to resolved this issue.
Application: Oracle Ebs-R12(12.1.2)
DB: 11.1.0.7
OS: linux 5*86x64
Waiting for valuable response.
Regards,
MohsinHi Hussein
I have a question on this OPP java heap space .
Let say I have 10 Process allocated for OPP and heap space allocated to OPP is 1024 MB.
Q 1 . Let say 5 requests are running by 5 OPP processes.. Then how this heap memory allocated ?
is it something like heap space / number of running requests by OPP (1024/5 in this case )
Q 2. Let say i have submitted 2 requests . One request needs 800 MB of heap space (based on the past runs )
And Second one requires 500 MB of heap space .
In this we will get java out of memory error ? Am I correct ?
Q 3 . Will all requests after submitted after test case 2 ( Q 2) encounter out of memory errors Since the heap space was exhausted until OPP bounced or full /GC Completed/
Please Correct me if I am wrong
--Thanks In advance. -
Hi,
We are running SAP MII 12.0 on windows server 2003 SP1 installed on a virtual machine with 4GB RAM, Intel Xenon CPU E5504 @ 2.00 GHz.
We started getting the Java Heap Space Error while executing a transaction which fetches about 200 rows. But now the error is quiet frequent and appears while trying to open or close the transactions or save trying to save data.
I have edited the heap space in the config tool to 2048 but this has not helped. Not sure if this is of significance but the SAP R3 server being used is quiet slow and takes about 3 mins to return data when I run the BAPI on it. This resulted in the transaction timing out a few times before we started getting the error. Increasing the connection timeout and read timeout for the transaction has not helped.
Please help me resolve this
Thanks
Maaz AhmedThe BAPI being used is BAPI_GOODSMVT_GETITEMS I am specifying the Material, Plant, Goods Mvt ranges, and a date range.
I was informed that the QA R3 system is not among the best servers and the speeds would be better in production (under 3s).
Also I have been looking at the sapmmc. Each time I restart the cluster or the server I get a series of messages or alerts. In these alerts I see a series (Content, Navigation, PRT, etc..) of health checks failing. And the last two errors are as below
Object - Common Information
Attribute - Failed to Start Application
Description - 2 appl > 1 appl last reported value above threshold.
and
Object - Common Information
Attribute - Failed to Start Application
Description - 1 appl > 0 appl last reported value above threshold.
I am able to launch the menu page after this and when i run the above mantioned BAPI I get the error
Object - Memory Info
Attribute - Usage Rate
Description - 81% > 80% last reported value above threshold -
Hello All,
I 'am using BI publisher trial version to enable PDF printing in APEX.
The BI engine hungs and and runs 100% on CPU and in the logs i do see a OOM - Java Heap Space
####<Jan 3, 2014 2:13:46 PM UTC> <Error> <HTTP Session> <ac101.us.oracle.com> <bipserver> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1388758426864> <BEA-100060> <An unexpected error occurred while retrieving the session for Web application: ServletContext@1927403765[app:xmlpserver module:xmlpserver path:/xmlpserver spec-version:2.5].
java.lang.OutOfMemoryError: Java heap space
In which file should i change the Xms / Xmx parameters ?
TIA,
JohnHi John,
Look at this threads
https://forum.java.sun.com/thread/2566826
java.lang.OutOfMemoryError: Java heap space -previewing 145MB file in Word
http://www.technicalconfessions.com/posts.php?post_id=174&title=Starting%20up%20OIM%20managed%20server:%20java.lang.OutOfMemoryError:%20PermGen%20space
Thanks -
Java heap space java.lang.OutOfMemoryError coming in weblogic server
Hi All,
I am getting following out of memory exception on BCC server start up.
<Nov 13, 2013 3:17:09 AM IST> <Critical> <Health> <BEA-310003> <Free memory in the server is 1,134,688 bytes. There is danger of OutOfMemoryError>
Exception in thread "Timer-2" java.lang.OutOfMemoryError: Java heap space
at java.util.AbstractCollection.toArray(AbstractCollection.java:119)
at java.util.ArrayList.<init>(ArrayList.java:131)
at javax.jmdns.impl.DNSCache.getCacheNodes(DNSCache.java:223)<Nov 13, 2013 3:17:28 AM IST> <Error> <Kernel> <BEA-000802> <ExecuteRequest failed
at javax.jmdns.impl.tasks.RecordReaper.run(RecordReaper.java:48)
at java.util.TimerThread.mainLoop(Timer.java:512) java.lang.OutOfMemoryError: Java heap space.
java.lang.OutOfMemoryError: Java heap space
at java.util.TimerThread.run(Timer.java:462)
at java.lang.reflect.Array.newArray(Native Method)
Exception in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError: Java heap space
at java.lang.reflect.Array.newInstance(Array.java:52) at java.lang.reflect.Array.newArray(Native Method)
at java.lang.reflect.Array.newInstance(Array.java:52)
at java.util.AbstractCollection.toArray(AbstractCollection.java:159) at java.util.AbstractCollection.toArray(AbstractCollection.java:159)
at java.util.Collections$SynchronizedCollection.toArray(Collections.java:1569)
at atg.service.jdbc.FakeXAResource.recover(FakeXAResource.java:430)
at weblogic.transaction.internal.XAServerResourceInfo.recover(XAServerResourceInfo.java:1019) at java.util.Collections$SynchronizedCollection.toArray(Collections.java:1569)
at weblogic.transaction.internal.ServerSCInfo.recover(ServerSCInfo.java:645)
at weblogic.transaction.internal.XAResourceDescriptor.getXidsToBeRolledBack(XAResourceDescriptor.java:1137)
at atg.service.jdbc.FakeXAResource.recover(FakeXAResource.java:430)
at weblogic.transaction.internal.XAResourceDescriptor.recover(XAResourceDescriptor.java:1073)
at weblogic.transaction.internal.XAResourceDescriptor.access$100(XAResourceDescriptor.java:60)
at weblogic.transaction.internal.XAResourceDescriptor$2.run(XAResourceDescriptor.java:823)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Truncated. see log file for complete stacktrace
I think this can't be issue with following variables:As I hv set them from 64m to 256, still issue coming.
WLS_MEM_ARGS_32BIT=-Xms200m -Xmx256m
MEM_PERM_SIZE_32BIT=-XX:PermSize=200m
MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=256m
Any suggestion.
Thanks,
Nitin.making it 512 temporarily working fine, but my concern was something must have been eating all the memory.
I did run bcc with 128 MB and deployed lots of initial data too, didn't face the issue in recent past with same versions and same build size.
ATG:10.2
Weblogic: 10.3.5
JDK:1.6.0_25
One more info:
my build size is around 200 MB
I m not running productionAgent,But I didn't make that essential while setting agent.
Can that be issue that some Manager trying to hit the server continuously and eating the memory.
Can not running the agent server, eat substantial memory?
**** Warning
Wed Nov 13 04:25:21 IST 2013
1384296921718 /atg/epub/DeploymentServer
Failed to connect to agent 'ProdcutionAgent'. This agent not allowed to be absent for a deployment. The server will continue attempts to intialize the connection. Set loggingDebug to true for continued exception and stacktrace logging.
@others:
BCC Server memory parameters:
WLS_MEM_ARGS_32BIT=-Xms512m -Xmx512m
MEM_PERM_SIZE_32BIT=-XX:PermSize=128m
MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=256m
Production Server memory parameters:
WLS_MEM_ARGS_32BIT=-Xms200m -Xmx256m
MEM_PERM_SIZE_32BIT=-XX:PermSize=64m
MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=128m -
OutOfMemoryError: Java heap space error when exporting more than 65MB file
Hi all,
My requirement is to export 65Mb file in a CSV format.There is no possibility for me to increase the heap size.
But ,I get the following error which is below the code while doing an export.
Whole 65mb ,I am putting into the response stream.I am not sure whether this is allowed or not.If not,please tell me the alternatives.
ServletOutputStream out = null;
final FacesContext faces = FacesContext.getCurrentInstance();
final HttpServletResponse response = (HttpServletResponse) faces
.getExternalContext().getResponse();
response.setContentType( "application/download" );
response.setHeader( ...................);
final byte[] byteArray = eachLine.toString().getBytes();
response.setContentLength( byteArray.length );
out.write(byteArray);
java.lang.OutOfMemoryError: Java heap space
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:95)
at org.apache.myfaces.webapp.filter.ExtensionsResponseWrapper$MyServletOutputStream.write(ExtensionsResponseWrapper.java:138)
at org.ajax4jsf.io.FastBufferOutputStream.writeTo(FastBufferOutputStream.java:151)
at org.ajax4jsf.framework.ajax.xmlfilter.FilterServletResponseWrapper.sendContent(FilterServletResponseWrapper.java:469)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:193)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:100)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
Edited by: Neelims on Apr 4, 2009 3:48 AM
Edited by: Neelims on Apr 4, 2009 3:51 AMHi
final byte[] byteArray = eachLine.toString().getBytes();
response.setContentLength( byteArray.length );
out.write(byteArray);
I assume eachLine is an object that holds the 100MB file contents, just release the memory held by this object before you start the writing part as shown below
final byte[] byteArray = eachLine.toString().getBytes();
eachLine=null;//removed the reference holding the memory
System.gc()//if JVM is in a good mood may be it will release some memory
response.setContentLength( byteArray.length );
out.write(byteArray);
before throwing out of memeory JVM may try to run the garbage collecter as you have initialised your object it might free up some memory -
"java.lang.OutOfMemoryError: Java heap space" while trying to read Excel.
Hi Experts,
Here is my query. I'm trying to upload excel data into database table. This excel contains more than 20000 records. I'm storing this data in a vector after reading it & passing this vector as a parameter to another method(not mentioned in the below code) which writes into the database. The code works for records <4000, but fails to read beyond that & throws exception as below.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Java heap space
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:433)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
javax.servlet.ServletException: Java heap space
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
org.apache.jsp.readexcelsap_jsp._jspService(readexcelsap_jsp.java:365)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.OutOfMemoryError: Java heap space
Below is the code for reference. Kindly Help me in getting this heap space error rectified or suggest me alternate ways.
I tried increasing Heap space as googled but in vain.
<%!
private Vector readExcelSheet(String uploadedFilePath, int sheetNo) throws IOException
Vector allRowInfo = null;
try
HSSFSheet sheet= getWorkSheet(uploadedFilePath,sheetNo);
//System.out.println(uploadedFilePath);
//System.out.println(sheetNo);
//System.out.println("--Sheet--"+sheet);
//System.out.println("--Sheet--"+sheet.getLastRowNum());
if(sheet!=null)
allRowInfo = new Vector();
for(int i=0;i<=sheet.getLastRowNum();i++)
HSSFRow row= sheet.getRow(i);
Vector eachRowInfo = new Vector();
for(short j=0;j<row.getLastCellNum();j++)
eachRowInfo.add(getCellContents(row.getCell(j)));
//System.out.println("--"+row.getCell(j));
allRowInfo.add(eachRowInfo);
else
allRowInfo = null;
//return allRowInfo;
catch (FileNotFoundException ex)
System.out.println("-- Error in reading--getWorkSheet -- 1--"+ex);
allRowInfo = null;
catch (IOException ex)
System.out.println("-- Error in reading--getWorkSheet-- 2 --"+ex);
allRowInfo = null;
catch (IndexOutOfBoundsException ex)
System.out.println("-- Error in reading--getWorkSheet-- 2 --"+ex);
allRowInfo = null;
catch (NullPointerException ex)
System.out.println("-- Error in reading--getWorkSheet --"+ex);
allRowInfo = null;
catch(Exception e)
System.out.println(e.getMessage());
e.printStackTrace();
allRowInfo = null;
return allRowInfo;
%>
<%!
private HSSFSheet getWorkSheet(String uploadedFilePath, int sheetNo) throws IOException
HSSFSheet sheet = null;
try
FileInputStream inputStream=new FileInputStream(uploadedFilePath);
POIFSFileSystem poisFile=new POIFSFileSystem(inputStream);
HSSFWorkbook workBook= new HSSFWorkbook(poisFile);
sheet = workBook.getSheetAt(sheetNo);
catch (FileNotFoundException ex)
System.out.println("-- Error in reading--getWorkSheet --"+ex);
sheet = null;
catch (IOException ex)
System.out.println("-- Error in reading--getWorkSheet --"+ex);
sheet = null;
catch (IndexOutOfBoundsException ex)
System.out.println("-- Error in reading--getWorkSheet --"+ex);
sheet = null;
catch (NullPointerException ex)
System.out.println("-- Error in reading--getWorkSheet --"+ex);
sheet = null;
catch(Exception e)
System.out.println(e.getMessage());
e.printStackTrace();
sheet = null;
return sheet;
%>
<%!
public String getCellContents(HSSFCell cell)
String cellValue="";
String cellValue1="";
if(cell!=null)
int cellType= cell.getCellType();
if(cellType==HSSFCell.CELL_TYPE_NUMERIC)
cellValue=(float)cell.getNumericCellValue()+"";
if(cellType==HSSFCell.CELL_TYPE_STRING)
cellValue1=cell.getStringCellValue();
StringBuffer sb = new StringBuffer();
for(int i = 0; i < cellValue1.length(); i++)
sb.append(cellValue1.charAt(i));
if(cellValue1.charAt(i)=='\'')
sb.append('\'');
cellValue = sb.toString();
return cellValue;
%>
<html>
<body>
<%
String file_Name="Myexcel.xls";
String path = "D://Test Upload//"+file_Name;
Vector list = readExcelSheet(path,0);
</html>
</body>Regards
Venky
Edited by: Venky_86 on Jun 17, 2009 6:05 AMHOW did you increase the heap space? As that is the only solution you have in this case really.
It is a known fact that POI can use up a lot of memory for big spreadsheets. If at all possible, I would try to switch to plain text comma separated files / tab delimited files. If you cannot do that, I would try to put a size restriction on the sheets that your application will process to get rid of the heap space risk. A sheet can contain 20000 records, or four sheets can contain 5000 records; in both cases you process the exact same data, but at only 25% of the total memory usage. -
BI XML Publiser Issue java langOutOfMemoryError Java heap space
Hi
I am getting 'java.lang.OutOfMemoryError: Java heap space' error in XML publisher report. Just i am running 15MB data report still its giving OutOfmemory issue.
Please help on this.
[5/22/12 9:08:00 AM] [98639:RT12903275] XML Publisher post-processing action complete.
[5/22/12 9:08:01 AM] [98639:RT12903275] Completed post-processing actions for request 12903275.
[5/22/12 10:20:15 AM] [OPPServiceThread1] Post-processing request 12903281.
[5/22/12 10:20:19 AM] [98639:RT12903281] Executing post-processing actions for request 12903281.
[5/22/12 10:20:19 AM] [98639:RT12903281] Starting XML Publisher post-processing action.
[5/22/12 10:20:19 AM] [98639:RT12903281]
Template code: XXGFS_AP_APMCGRN
Template app: XXGFS_AP
Language: en
Territory: US
Output type: EXCEL
Exception: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at oracle.jdbc.dbaccess.DBItem.allocBuffer(DBItem.java:204)
at oracle.jdbc.dbaccess.DBItem.allocBuffer(DBItem.java:232)
at oracle.jdbc.dbaccess.DBDataSetImpl._allocItemsAndBuffers(DBDataSetImpl.java:300)
at oracle.jdbc.dbaccess.DBDataSetImpl._allocDataAndItems(DBDataSetImpl.java:261)
at oracle.jdbc.dbaccess.DBDataSetImpl.setType(DBDataSetImpl.java:2068)
at oracle.jdbc.dbaccess.DBDataSetImpl.setType(DBDataSetImpl.java:1951)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterBytes(OracleCallableStatement.java:278)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:402)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:477)
at oracle.apps.fnd.cp.gsm.GenCartComm.getQueueMessage(GenCartComm.java:185)
at oracle.apps.fnd.cp.gsf.GSMStateMonitor.waitForNextEvent(GSMStateMonitor.java:95)
at oracle.apps.fnd.cp.gsf.GSMServiceController.mainLoop(GSMServiceController.java:236)
at oracle.apps.fnd.cp.gsf.BaseServiceController.run(BaseServiceController.java:71)
at java.lang.Thread.run(Thread.java:619)
Exception in thread "Cache Stats Writer" java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "OPPAQMON:98639" java.lang.OutOfMemoryError: Java heap space
at oracle.jdbc.dbaccess.DBItem.allocBuffer(DBItem.java:204)
at oracle.jdbc.dbaccess.DBItem.allocBuffer(DBItem.java:232)
at oracle.jdbc.dbaccess.DBDataSetImpl._allocItemsAndBuffers(DBDataSetImpl.java:300)
at oracle.jdbc.dbaccess.DBDataSetImpl._allocDataAndItems(DBDataSetImpl.java:261)
at oracle.jdbc.dbaccess.DBDataSetImpl.setType(DBDataSetImpl.java:2068)
at oracle.jdbc.dbaccess.DBDataSetImpl.setType(DBDataSetImpl.java:1951)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterBytes(OracleCallableStatement.java:278)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java:402)
at oracle.apps.fnd.cp.opp.OPPAQMonitor.waitForMessage(OPPAQMonitor.java:423)
at oracle.apps.fnd.cp.opp.OPPAQMonitor.run(OPPAQMonitor.java:113)
at java.lang.Thread.run(Thread.java:619)
[5/22/12 10:24:36 AM] [UNEXPECTED] [98639:RT12903281] java.lang.OutOfMemoryError: Java heap spaceuser972966 wrote:
There are two tables (tableA, tableB) in two different databases. They both have almost same schema/structure. There is mapping between tables on their columns.
I need to develop a Java application to compare data value between these two tables for a time frame (for example one day) and find missing records or mismatch data.
The volume of data, even for one day, is huge; almost 70M, 100M. Do you mean this many records? or this many MB. either way they are not that big for Java. If you have collections of up to 2 billion entries, you won't have a problem.
>
I have tried to use Thread to split the comparison process in 10 threads. Each thread is fetching portion of data from both tables (for example 7M each) and processing portion them. The issue that I am facing is, I am getting following exception after running:I would suggest you get the program working with one thread first. You will find this is simpler and possibly even faster. Having 10 threads isn't guarenteed to be faster.
>
To compare the data, I am fetching data from tableA and add it into List<MyDataObject> listA (the MyDataObject represent a one row data. It is a java bean) and then I am fetching data from tableB and add it into List<MyDataObject> listB
And then I compare the lists.
It seems there is limitation in size of List and I cannot add many elements to a List object, it’ll throws Out of Memory exception. The limit is 2^31-1. However an Out of Memory error means what it says. You are out of heap space, so you need to either increase it, or use less memory.
>
This method works for small volume, but for large one I get that exceptionIs there any reason you cannot divide the problem so you can process a small volume at a time? -
Java Heap Space Error in BI Publisher
Hi,
I have an issue with BIP reports.
My report is working fine in development instance as it has very less data.
But the same report is throwing "Java Heap Space" error in another instance which is having huge amount of data.
I tried to modify the oc4j.cmd file by increasing the values -XX:MaxPermSize=128m -Xmx1024m.
After restarting the oc4j serivices,my OBIEE and BIP URL's becomes dead slow.
Is there any solution to improve the performance (or) is there any other way to resolve this issue.
I am running on
OBIEE 10.1.3.4.2.
oc4j Server
Windows box.
Thanks in advance.
Pramod.Changing os's may help, or it may not. Java requires contiguous memory addresses for the heap, and that varies with the os, os parameters, what has previously been loaded into memory, and how much physical memory is available. The heap can't be assigned to the os's swap space; the os handles paging in and out of memory. All modern os's provide paging to disk.
Maybe you are looking for
-
How to view the SQL statement generated during execution of the BW Query?
Dear Experts, I am trying to retrieve data in a SAP BW Query from a Non-SAP system. I think if I am able to see the complete SQL statement that was generated when I executed the BW Query, I may be able to use it to retrieve the data. Do you know how
-
Problem with HDMI. After installing mountain lion, I have noticed that, if I plug in a HDMI cable (to watch a movie from the mac to a bigger screen), the mac screen becomes blue in a non reversible way, which means that, even if I unplug the cable, t
-
Hi All, I need to strike a word in abap... For ex : daughter It should come as daughter Thanks,
-
Installing Reader on PCs without internet access.
How do I download and install Reader to a CD so that I can install on desktop PCs that do not have internet access.
-
Hi, In a java web dynpro app I am desiging I am going to make use of some 20 bapi's. My question: what is the recommended architecture in this case? Do I create two, three models and put 6 bapi calls in each one? Do I create two DC's and put one or t