The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

[SOLVED] RAPID MINER hanging

daradara Member Posts: 29 Contributor II
edited November 2018 in Help
Hello I am using Rapid Miner to connect to a  remote Rapid Analytics.

I am using tiny databases of few items and after 5-10 submits to the server the Rapid Miner client freezes.

On IMAC I run it with option to grab up to 8GIG and when it hangs there is about 4GIG of memory left + very little CPU consumption.

Is there a debug option I can turn on to see where and why Rapid-Miner hangs?

Thank you

Dara

Answers

  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee-RapidMiner, Member, University Professor Posts: 1,996 RM Engineering
    Hi,

    the log file for RapidMiner won't be available before the next release I'm afraid, so you will have to start RapidMiner from the RapidMiner/scripts folder via one of the start scripts, e.g. RapidMinerGUI.bat (Windows) or RapidMinerGUI (Linux/Mac). There you can see possible errors and post them here for further help.

    Regards,
    Marco
  • daradara Member Posts: 29 Contributor II
    Constantly hangs on my 8GIG new IMAC.

    Here is how I load the RapidMIner:

    java -Xmx8000m -jar rapidminer.jar

    There should be plenty of memory, I basically hang within 3 or 4 execution of almost any process.
    Jul 15, 2013 6:50:55 AM com.rapidminer.Process loadInitialData
    INFO: Loading initial data.
    Jul 15, 2013 6:50:57 AM com.rapidminer.Process saveResults
    INFO: Saving results.
    Jul 15, 2013 6:50:57 AM com.rapidminer.Process run
    INFO: Process finished successfully after 1 s
    Exception in thread "UpdateQueue-documentation_update_queue" java.lang.OutOfMemoryError: PermGen space
    at java.lang.ClassLoader.findBootstrapClass(Native Method)
    at java.lang.ClassLoader.findBootstrapClassOrNull(ClassLoader.java:926)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at com.sun.org.apache.xalan.internal.utils.ObjectFactory.findProviderClass(ObjectFactory.java:587)
    at com.sun.org.apache.xalan.internal.utils.ObjectFactory.findProviderClass(ObjectFactory.java:542)
    at com.sun.org.apache.xml.internal.serializer.SerializerFactory.getSerializer(SerializerFactory.java:126)
    at com.sun.org.apache.xml.internal.serializer.ToUnknownStream.initStreamOutput(ToUnknownStream.java:1012)
    at com.sun.org.apache.xml.internal.serializer.ToUnknownStream.emitFirstTag(ToUnknownStream.java:1076)
    at com.sun.org.apache.xml.internal.serializer.ToUnknownStream.flush(ToUnknownStream.java:1236)
    at com.sun.org.apache.xml.internal.serializer.ToUnknownStream.startElement(ToUnknownStream.java:497)
    at com.sun.org.apache.xml.internal.serializer.ToUnknownStream.startElement(ToUnknownStream.java:467)
    at GregorSamsa.template$dot$0()
    at GregorSamsa.applyTemplates()
    at GregorSamsa.transform()
    at com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:605)
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:725)
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:336)
    at com.rapidminer.gui.OperatorDocToHtmlConverter.convert(OperatorDocToHtmlConverter.java:99)
    at com.rapidminer.gui.OperatorDocumentationBrowser.parseXmlAndReturnHtml(OperatorDocumentationBrowser.java:192)
    at com.rapidminer.gui.OperatorDocumentationBrowser.access$200(OperatorDocumentationBrowser.java:85)
    at com.rapidminer.gui.OperatorDocumentationBrowser$1.run(OperatorDocumentationBrowser.java:325)
    at com.rapidminer.gui.tools.UpdateQueue.run(UpdateQueue.java:81)
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space
    at java.lang.ClassLoader.findBootstrapClass(Native Method)
    at java.lang.ClassLoader.findBootstrapClassOrNull(ClassLoader.java:926)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at com.rapidminer.gui.look.ui.MenuUI$MenuMouseHandler.mouseEntered(MenuUI.java:62)
    at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:283)
    at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:282)
    at java.awt.Component.processMouseEvent(Component.java:6423)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6179)
    at java.awt.Container.processEvent(Container.java:2083)
    at java.awt.Component.dispatchEventImpl(Component.java:4776)
    at java.awt.Container.dispatchEventImpl(Container.java:2141)
    at java.awt.Component.dispatchEvent(Component.java:4604)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
    at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:4408)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4262)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space
    at java.lang.ClassLoader.findBootstrapClass(Native Method)
    at java.lang.ClassLoader.findBootstrapClassOrNull(ClassLoader.java:926)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at com.rapidminer.gui.look.ui.MenuUI$MenuMouseHandler.mouseEntered(MenuUI.java:62)
    at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:283)
    at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:282)
    at java.awt.Component.processMouseEvent(Component.java:6423)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6179)
    at java.awt.Container.processEvent(Container.java:2083)
    at java.awt.Component.dispatchEventImpl(Component.java:4776)
    at java.awt.Container.dispatchEventImpl(Container.java:2141)
    at java.awt.Component.dispatchEvent(Component.java:4604)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
    at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:4408)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4262)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space
    at java.lang.ClassLoader.findBootstrapClass(Native Method)
    at java.lang.ClassLoader.findBootstrapClassOrNull(ClassLoader.java:926)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at com.rapidminer.gui.look.ui.MenuUI$MenuMouseHandler.mouseEntered(MenuUI.java:62)
    at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:283)
    at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:282)
    at java.awt.Component.processMouseEvent(Component.java:6423)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6179)
    at java.awt.Container.processEvent(Container.java:2083)
    at java.awt.Component.dispatchEventImpl(Component.java:4776)
    at java.awt.Container.dispatchEventImpl(Container.java:2141)
    at java.awt.Component.dispatchEvent(Component.java:4604)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
    at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:4408)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4262)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: PermGen space
    Java HotSpot(TM) 64-Bit Server VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal Unknown Signal to handler- the VM may need to be forcibly terminated
    Killed: 9
  • Nils_WoehlerNils_Woehler Member Posts: 463 Maven
    It is not recommended to start RapidMiner this way. You have plenty of memory but you haven't increased the size for PermGen memory.
    Without going into further detail, this is done by the start-up scripts in the scripts folder of RapidMiner.

    Try to start RapidMiner this way:
    ./scripts/RapidMinerGUI.sh

    There you also can increase the size of the memory that should be available.

    Best,
    Nils
  • daradara Member Posts: 29 Contributor II
    Thanx, somehow this is not easily found in your documentation.

    This might have solved the hanging problem as expected.

    If I do not scream in a day, means all is good

    Thanx
Sign In or Register to comment.