IndexOutOfBounds after OutOfMemoryError

<oXygen/> general issues.
linus
Posts: 8

IndexOutOfBounds after OutOfMemoryError

Tue Nov 01, 2005 9:51 pm

FYI:

trying to read large (50MB) xml file throws OutOfMemoryError.

increased memory in oxygenMac.sh to -Xmx768m\

running oxygen 6.2 on Mac OSX 10.3.9 wth 3GB of memory.

AFter OOME, the following IndexOutOfBounds is thrown:

moab[linus]/Applications/oxygen6.2$ oxygenMac.sh
10:47:53,211 7 ERROR [ AWT-EventQueue-0 ] ro.sync.P.D - java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
10:47:53,599 395 FATAL [ AWT-EventQueue-0 ] ro.sync.ui.C - java.lang.IndexOutOfBoundsException: Index: 2358955, Size: 1
java.lang.IndexOutOfBoundsException: Index: 2358955, Size: 1
at java.util.ArrayList.RangeCheck(ArrayList.java:507)
at java.util.ArrayList.get(ArrayList.java:324)
at ro.sync.H.I$_A.A(Unknown Source)
at ro.sync.H.I$_A.<init>(Unknown Source)
at ro.sync.H.I.C(Unknown Source)
at ro.sync.P.E.G(Unknown Source)
at ro.sync.exml.D.Q.T.?(Unknown Source)
at ro.sync.exml.D.U$_A$1.run(Unknown Source)
at ro.sync.ui.C$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:840)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:642)
at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:613)
at ro.sync.ui.application.A.A(Unknown Source)
at ro.sync.exml.A.E.L(Unknown Source)
at ro.sync.exml.A.E$15.actionPerformed(Unknown Source)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
george
Site Admin
Posts: 2100

Tue Nov 01, 2005 10:17 pm

Hi,

After an out of memory error it is strongly recommended to restart the application. Otherwise the further behaviour is not predictable.
Try setting the maximum memory to 1GB to avoid the out of memory error.

Best Regards,
George

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 3 guests