Hi,
I am trying to run Hibernate Search on database on a table with 12,500,000 records.
On startup, Hibernate Search queries the database to obtain the schema information.
The problem is that I get OutOfMemory: heap size exception.
I read around, and found out that JDBC connector of MySQL puts queries on JAVA heap memory and it's a bug.
Is there a workarround for this bug?
I am using 5.1 connector.
Please see my post to Hibernate forum where they write that there is a bug in MySQL Hibernate Search Forum
The question is how can I work arround it?