jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frédéric Esnault <f...@legisway.com>
Subject [JCR Controller] Out of memory
Date Wed, 06 Jun 2007 11:25:05 GMT
Hi Jacco,

It seems you have a regression in your app. Now we have an OutOfMemory error we didn't have
with previous version (I'm using 0.61 as I said this morning). With a total of 10 000 contents,
(3x 3300), clicking on one of the three categories root node (ie. the contracts node, containing
the contract nodes), we get the OOM error.

My boss had the same with 1 000 contents only (divided also in three).

Here is the stack trace :
-----------------------------------------------------------------------------------------------------------
INFO - Repository started
INFO - Transient repository initialized
INFO - Session opened
INFO - resizeAll size=6
INFO - resizeAll size=6
INFO - resizeAll size=6
INFO - resizeAll size=6
INFO - resizeAll size=6
INFO - resizeAll size=6
INFO - resizeAll size=6
Exception in thread "Timer-2" java.lang.OutOfMemoryError: Java heap space
        at java.util.HashMap.<init>(Unknown Source)
        at org.apache.jackrabbit.core.query.lucene.MultiIndex.checkIndexingQueue
(MultiIndex.java:1054)
        at org.apache.jackrabbit.core.query.lucene.MultiIndex.access$000(MultiIn
dex.java:75)
        at org.apache.jackrabbit.core.query.lucene.MultiIndex$1.run(MultiIndex.j
ava:322)
        at java.util.TimerThread.mainLoop(Unknown Source)
        at java.util.TimerThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
        at java.lang.Class.getMethod0(Unknown Source)
        at java.lang.Class.getMethod0(Unknown Source)
        at java.lang.Class.getMethod(Unknown Source)
        at nl.msd.jdots.JD_Object.JD_doMethod(JD_Object.java:272)
        at nl.msd.jdots.JD_Object.JD_reportError(JD_Object.java:374)
        at nl.msd.jdots.JD_Object.JD_reportError(JD_Object.java:360)
        at nl.msd.jdots.JD_Thread.run(JD_Thread.java:61)
        at nl.msd.jdots.JD_Object.JD_doMethod(JD_Object.java:309)
        at nl.msd.jcr.gui.JCRE_DefaultTreeNode.childNodeIsAdded(JCRE_DefaultTree
Node.java:553)
        at nl.msd.jcr.gui.JCRE_DefaultTreeNode$TreeNodeThread.run(JCRE_DefaultTr
eeNode.java:87)
        at nl.msd.jcr.gui.JCRE_DefaultTreeNode.startNodeThread(JCRE_DefaultTreeN
ode.java:272)
        at nl.msd.jcr.gui.JCRE_DefaultTreeNode.grabTreeChildren(JCRE_DefaultTree
Node.java:361)
        at nl.msd.jcr.gui.JCRE_DefaultTreeNode.getChildCount(JCRE_DefaultTreeNod
e.java:401)
        at javax.swing.tree.DefaultTreeModel.getChildCount(Unknown Source)
        at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Unkno
wn Source)
        at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Unkno
wn Source)
        at javax.swing.tree.VariableHeightLayoutCache.ensurePathIsExpanded(Unkno
wn Source)
        at javax.swing.tree.VariableHeightLayoutCache.setExpandedState(Unknown S
ource)
        at javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(Unknown
Source)
        at javax.swing.plaf.basic.BasicTreeUI$Handler.treeExpanded(Unknown Sourc
e)
        at javax.swing.JTree.fireTreeExpanded(Unknown Source)
        at javax.swing.JTree.setExpandedState(Unknown Source)
        at javax.swing.JTree.expandPath(Unknown Source)
        at javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(Unknown Source)
        at javax.swing.plaf.basic.BasicTreeUI.handleExpandControlClick(Unknown S
ource)
        at javax.swing.plaf.basic.BasicTreeUI.checkForClickInExpandControl(Unkno
wn Source)
        at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(Unknown So
urce)
        at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressedDND(Unknown So
urce)
        at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(Unknown Sourc
e)
        at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
        at java.util.Arrays.copyOfRange(Unknown Source)
        at java.lang.String.<init>(Unknown Source)
        at java.lang.StringBuffer.toString(Unknown Source)
        at java.net.URLStreamHandler.toExternalForm(Unknown Source)
        at java.net.URL.toExternalForm(Unknown Source)
        at javax.swing.ImageIcon.<init>(Unknown Source)
        at nl.msd.jcr.gui.JCRE_GUIJCRTreeNode.getStdIcon(JCRE_GUIJCRTreeNode.jav
a:25)
        at nl.msd.jcr.gui.JCRE_GUITreeNode.getComponent(JCRE_GUITreeNode.java:63
)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
-----------------------------------------------------------------------------------------------------------
Frédéric Esnault - Ingénieur R&D
Legisway
60 boulevard de la mission Marchand
92400 Courbevoie La Défense
 

Mime
View raw message