Project: talenddataquality
Issue TDQ-4133: Permgen space exception in data explorer
I got a Permgen space exception after running a query to see the invalid rows of a DQ rule applied in a table analysis. (See the dqrule in the log) 27592102 [main] INFO org.talend.core.model.metadata.builder.util.MetadataConnectionUtils - Database Product Name: MySQL 27592138 [main] INFO org.talend.core.model.metadata.builder.util.MetadataConnectionUtils - Database Product Version: 5.1.36-log 27726641 [Thread-160] INFO org.talend.dq.analysis.AnalysisExecutor - Connection tojdbc:mysql://localhost:3306/tbi?noDatetimeStringSync=true 27727095 [Thread-160] INFO org.talend.cwm.management.connection.DatabaseContentRetriever - Database Product Name:MySQL 27727095 [Thread-160] INFO org.talend.cwm.management.connection.DatabaseContentRetriever - Database Product Version:5.1.36-log 27728284 [Thread-160] INFO org.talend.dq.analysis.TableAnalysisSqlExecutor - Computing indicator: Row Count 27728303 [Thread-160] INFO org.talend.dq.analysis.TableAnalysisSqlExecutor - Executing query: SELECT COUNT(*) FROM `tbi`.`customer` 27728424 [Thread-160] INFO org.talend.dq.analysis.TableAnalysisSqlExecutor - Computing indicator: rule 27728425 [Thread-160] INFO org.talend.dq.analysis.TableAnalysisSqlExecutor - Executing query: SELECT COUNT(*) FROM `tbi`.`customer` WHERE (email like '%@company%' or email like '%@%.com') 27728451 [Worker-128] INFO org.talend.dataprofiler.core.ui.action.actions.RunAnalysisAction - "Analysis "rule" execution code: OK. Duration: 1.79 s. 27737110 [main] INFO org.talend.cwm.management.connection.DatabaseContentRetriever - Database Product Name:MySQL 27737123 [main] INFO org.talend.cwm.management.connection.DatabaseContentRetriever - Database Product Version:5.1.36-log Error while informing user about event loop exception: java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) at java.lang.ClassLoader.defineClass(ClassLoader.java:616) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:481) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:469) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216) at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393) at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at net.sourceforge.squirrel_sql.fw.sql.SQLConnection.(SQLConnection.java:80) at net.sourceforge.sqlexplorer.dbproduct.SQLConnection.(SQLConnection.java:49) at net.sourceforge.sqlexplorer.dbproduct.ManagedDriver.getConnection(ManagedDriver.java:212) at net.sourceforge.sqlexplorer.dbproduct.User.createNewConnection(User.java:410) at net.sourceforge.sqlexplorer.dbproduct.User.getConnection(User.java:290) at net.sourceforge.sqlexplorer.dbproduct.Session.grabConnection(Session.java:131) at net.sourceforge.sqlexplorer.dbproduct.ConnectionJob.run(ConnectionJob.java:116) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Dialog open exception: java.lang.OutOfMemoryError: PermGen space
Story points: 13