java.lang.OutOfMemoryError: Java heap space at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1421) at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2708) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:459) at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2411) at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1657) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2036) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2543) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1737) at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:998) at org.netbeans.modules.db.sql.visualeditor.querybuilder.QueryBuilder.executeQuery(QueryBuilder.java:1257) at org.netbeans.modules.db.sql.visualeditor.querybuilder.QueryBuilderSqlTextArea.actionPerformed(QueryBuilderSqlTextArea.java:614) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:357) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261) at java.awt.Component.processMouseEvent(Component.java:6134) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5899) at java.awt.Container.processEvent(Container.java:2023) at java.awt.Component.dispatchEventImpl(Component.java:4501) at java.awt.Container.dispatchEventImpl(Container.java:2081) at java.awt.Component.dispatchEvent(Component.java:4331) at java.awt.LightweightDispatcher.retargetMouseEvent(LightweightDispatcher.java:4299) at java.awt.LightweightDispatcher.processMouseEvent(LightweightDispatcher.java:3963) at java.awt.LightweightDispatcher.dispatchEvent(LightweightDispatcher.java:3893) at java.awt.Container.dispatchEventImpl(Container.java:2067) at java.awt.Window.dispatchEventImpl(Window.java:2458) at java.awt.Component.dispatchEvent(Component.java:4331) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)