web stats
Mysql reading Java Heap error - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 09-08-2015, 01:34 PM
vibinChander vibinChander is offline
OBX.2 Kenobi
Join Date: Jul 2015
Location: Chennai
Posts: 75
vibinChander is on a distinguished road
Send a message via Skype™ to vibinChander
Default Mysql reading Java Heap error

Hi guys,
I'm fetching the data from mysqlDB to build a ccda in mirthconnect. I'm fetching many data from the DB and parsing into ccda sections. When i fetch few data from sql the process is working fine. When i get more data mirth throws error as follows:

Exception in thread "Timer-186" java.lang.OutOfMemoryError: Java heap space
I serached the forum and increased the heap size from 512m to 1024m but still i receive the same error. How to handle this problem Im using mirth version
Reply With Quote
Old 09-08-2015, 03:10 PM
eduardoa eduardoa is offline
Mirth Employee
Join Date: Mar 2013
Location: Santa Fe Springs, California
Posts: 134
eduardoa is on a distinguished road

It really depends on how many rows your query returns. You can try setting Cache Results to no and setting the Fetch Size. You can also limit your queries so that you don't fetch so much data at once.
Reply With Quote

ccda, hl7, mirth 3.0

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 10:18 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation