1. The "deploytool" of Matlab compiler which was working, suddenly stopped working.
2. Called up Mathworks support and somehow got the issue fixed by changing some system environment variable.
3. Then the application built properly.
4. Next, I tried to deploy it on another system and it bombed at that system.
5. Tried to execute that application on my system. Started getting "Java Out of Memory Error"
6. Called up Mathworks to get their help. They suggested some code changes and i implemented the same. Before I could test the application, I got locked out of Matlab Database Toolbox.
7. It took a while to get a license to access the database toolbox.
8. Then while I could start testing, my Computer monitor blew. :-(
9. Got that fixed.
10. Tested my application and found that still wasn't working.
11. Changed the JDBC driver to the latest available. Still aint working
Java exception occurred:
java.lang.OutOfMemoryError: Java heap space
at com.mysql.jdbc.Buffer.
at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1441)
at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2816)
at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:467)
at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2510)
at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1746)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2135)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2536)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1383)
at com.mathworks.toolbox.database.sqlExec.executeTheSelectStatement(sqlExec.java:170)
This exception is taking my night's sleep away.. :(
