web stats
Mysql reading Java Heap error - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 09-08-2015, 01:34 PM
vibinChander vibinChander is offline
OBX.2 Kenobi
 
Join Date: Jul 2015
Location: Chennai
Posts: 74
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:

Quote:
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 3.0.3.7171 version
Reply With Quote
  #2  
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
Default

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
Reply

Tags
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 06:52 PM.


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