Technical Support Forum Index
Technical Support Forum
Access ChemAxon scientists and developers here. For registration and login issues contact website support.

Support Ticket System is replacing forum

This forum was converted into a searchable archive. You cannot add posts here any more. For support please use our new Ticket System.

Create your first ticket
Out of memory and Error in module Clean2D during search
To watch this topic for replies  Register (enables digests) or give email address:
This topic is locked: you cannot edit posts or make replies.
Display posts from previous:   
    View previous topic :: View next topic    
Author Message
Tobias

Joined: 26 Jan 2005
Posts: 580

View user's profile

Back to top
Link to postPosted: Tue Oct 23, 2007 11:44 pmPost subject: Out of memory and Error in module Clean2D during search Reply with quote

Hi,
I prevoisly reported a problem with the same error
using probably faulty structures in a MW restricted search
see http://www.chemaxon.com/forum/viewpost13675.html

The same error occurred during a substructure search with SMARTS.
The memory settings were set from 356 MByte to 1024 MByte and during the search only 128 MByte were used. I use the latest updated version 2.1.

Tobias

INFO [com.im.df.impl.db.DBSchemaUtilities]: Created ConnectionHandler
INFO [com.im.df.query.ui.AdvancedQueryUIBuilder]: single click
INFO [com.im.df.query.ui.AdvancedQueryUIBuilder]: Node is OK. Checking whole tree
internal error: cannot recognize clipboard data format
WARNING [org.openide.filesystems.Ordering]: Not all children in OptionsDialog/ marked with the position attribute: [Actions, Advanced, PreviewExamples, com-im-ijc-core-options-CTFavouritesOptionsCategory.instance], but some are: [Advanced.instance]
INFO [com.im.df.impl.db.DBSchemaUtilities]: Created ConnectionHandler
INFO [com.im.df.chem.JChemStructureSearcher]: Executing JChemSearch
Sceeening found 8,772 matches and took 15ms.
Atom by atom matching reduced this to 6,854 hits. Total time was 703.SEVERE [global]
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at chemaxon.marvin.common.swing.MolPanel.initCursor(MolPanel.java:5037)
at chemaxon.marvin.common.swing.MolPanel.initCursor(MolPanel.java:5016)
at chemaxon.marvin.common.swing.MolPanel.endHourglass(MolPanel.java:3671)
at chemaxon.marvin.common.swing.MolPanel.molLoaded(MolPanel.java:4472)
at chemaxon.marvin.view.swing.ViewPanel.molLoaded(ViewPanel.java:2599)
at chemaxon.marvin.view.swing.ViewPanel.setM(ViewPanel.java:1657)
at chemaxon.marvin.beans.MViewPane.setM(MViewPane.java:462)
at com.im.ijc.renderers.impl.StructureRenderer.getWidgetCellRendererComponent(StructureRenderer.java:262)
at com.im.ijc.renderers.impl.StructureRenderer.getTableCellRendererComponent(StructureRenderer.java:190)
at javax.swing.JTable.prepareRenderer(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
[catch] at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
SEVERE [global]
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at chemaxon.marvin.common.swing.MolPanel.initCursor(MolPanel.java:5037)
at chemaxon.marvin.common.swing.MolPanel.initCursor(MolPanel.java:5016)
at chemaxon.marvin.common.swing.MolPanel.endHourglass(MolPanel.java:3671)
at chemaxon.marvin.common.swing.MolPanel.molLoaded(MolPanel.java:4472)
at chemaxon.marvin.view.swing.ViewPanel.molLoaded(ViewPanel.java:2599)
at chemaxon.marvin.view.swing.ViewPanel.setM(ViewPanel.java:1657)
at chemaxon.marvin.beans.MViewPane.setM(MViewPane.java:462)
at com.im.ijc.renderers.impl.StructureRenderer.getWidgetCellRendererComponent(StructureRenderer.java:262)
at com.im.ijc.renderers.impl.StructureRenderer.getTableCellRendererComponent(StructureRenderer.java:190)
at javax.swing.JTable.prepareRenderer(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paintViewDoubleBuffered(Unknown Source)
at javax.swing.JViewport.paintView(Unknown Source)
at javax.swing.JViewport.flushViewDirtyRegion(Unknown Source)
at javax.swing.JViewport.setViewPosition(Unknown Source)
at javax.swing.ViewportLayout.layoutContainer(Unknown Source)
at java.awt.Container.layout(Unknown Source)
at java.awt.Container.doLayout(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
[catch] at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Error in module Clean2D
SEVERE [global]
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at chemaxon.marvin.common.swing.MolPanel.initCursor(MolPanel.java:5037)
at chemaxon.marvin.common.swing.MolPanel.initCursor(MolPanel.java:5016)
at chemaxon.marvin.common.swing.MolPanel.endHourglass(MolPanel.java:3671)
at chemaxon.marvin.common.swing.MolPanel.molLoaded(MolPanel.java:4472)
at chemaxon.marvin.view.swing.ViewPanel.molLoaded(ViewPanel.java:2599)
at chemaxon.marvin.view.swing.ViewPanel.setM(ViewPanel.java:1657)
at chemaxon.marvin.beans.MViewPane.setM(MViewPane.java:462)
at com.im.ijc.renderers.impl.StructureRenderer.getWidgetCellRendererComponent(StructureRenderer.java:262)
at com.im.ijc.renderers.impl.StructureRenderer.getTableCellRendererComponent(StructureRenderer.java:190)
at javax.swing.JTable.prepareRenderer(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paintViewDoubleBuffered(Unknown Source)
at javax.swing.JViewport.paintView(Unknown Source)
at javax.swing.JViewport.flushViewDirtyRegion(Unknown Source)
at javax.swing.JViewport.setViewPosition(Unknown Source)
at javax.swing.ViewportLayout.layoutContainer(Unknown Source)
at java.awt.Container.layout(Unknown Source)
at java.awt.Container.doLayout(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at javax.swing.JViewport.validateView(Unknown Source)
at javax.swing.JViewport.scrollRectToVisible(Unknown Source)
at javax.swing.JComponent.scrollRectToVisible(Unknown Source)
at com.im.ijc.widgets.table.WBTable$2.run(WBTable.java:297)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
[catch] at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Error in module Clean2D
SEVERE [global]
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
at chemaxon.marvin.common.swing.MolPanel.initCursor(MolPanel.java:5037)
at chemaxon.marvin.common.swing.MolPanel.initCursor(MolPanel.java:5016)
at chemaxon.marvin.common.swing.MolPanel.endHourglass(MolPanel.java:3671)
at chemaxon.marvin.common.swing.MolPanel.molLoaded(MolPanel.java:4472)
at chemaxon.marvin.view.swing.ViewPanel.molLoaded(ViewPanel.java:2599)
at chemaxon.marvin.view.swing.ViewPanel.setM(ViewPanel.java:1657)
at chemaxon.marvin.beans.MViewPane.setM(MViewPane.java:462)
at com.im.ijc.renderers.impl.StructureRenderer.getWidgetCellRendererComponent(StructureRenderer.java:262)
at com.im.ijc.renderers.impl.StructureRenderer.getTableCellRendererComponent(StructureRenderer.java:190)
at javax.swing.JTable.prepareRenderer(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JViewport.paintViewDoubleBuffered(Unknown Source)
at javax.swing.JViewport.paintView(Unknown Source)
at javax.swing.JViewport.flushViewDirtyRegion(Unknown Source)
at javax.swing.JViewport.setViewPosition(Unknown Source)
at javax.swing.ViewportLayout.layoutContainer(Unknown Source)
at java.awt.Container.layout(Unknown Source)
at java.awt.Container.doLayout(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
[catch] at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Error in module Clean2D
Tim
ChemAxon personnel
Joined: 05 Oct 2004
Posts: 1703

View user's profile

Back to top
Link to postPosted: Thu Oct 25, 2007 10:05 amPost subject: Reply with quote

We are looking into this.
From what we understand it happens when structures are being displayed in the grid view.
And those structures are probably in smiles/smarts format, as the error is coming from when 2D coordinate generation is needed?

Is this correct?
Are you able to send us the data so that we can use it to reproduce the problem? (send privately not to the forum).
tdudgeon at chemaxon dot com


Thanks
Tobias

Joined: 26 Jan 2005
Posts: 580

View user's profile

Back to top
Link to postPosted: Wed Oct 31, 2007 10:30 pmPost subject: Reply with quote

Hi Tim,
this issue is resolved in Marvin 05.pre-alpha version
and has something to do with the Mview or the Sketcher.
http://www.chemaxon.com/shared/alpha/marvin/examples/applets/example-sketch1.1.html
Product Version: MarvinSketch 5.0.0alpha13
Build Date: 2007-10-26
Operating System: x86 Windows XP 5.1
Java: Sun Microsystems Inc. Java 1.5.0_06
Memory: 63.6M maximum, 27.8M total, 4.9M free
Environment: Trusted Applet (with administrator rights)
Browser: sun.plugin 1.1


This version does not give the Clean2D error, but all prior versions do.
Tobias
Tim
ChemAxon personnel
Joined: 05 Oct 2004
Posts: 1703

View user's profile

Back to top
Link to postPosted: Tue Jan 15, 2008 3:04 pmPost subject: Reply with quote

This problem should now be fixed in IJC 2.2.
Structures are converted to 2D if necessary prior to displaying in Marvin.
This topic is locked: you cannot edit posts or make replies.
Page 1 of 1


To watch this topic for replies   Register (enables digests) or give email address  
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum