web stats
MC 3.2.1 : PermSize shortage - 2 outages - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 04-27-2015, 01:50 AM
lionelroux lionelroux is offline
OBX.2 Kenobi
 
Join Date: Apr 2013
Posts: 82
lionelroux is on a distinguished road
Exclamation MC 3.2.1 : PermSize shortage - 2 outages

hello,

I upgraded my Mirth Connect from 3.1.1 to 3.2.1 on Friday.
Since this upgrade, I faced 2 outages. In the logs, there are the following lines :

Quote:
com.mirth.connect.donkey.server.channel.ChannelExc eption: java.lang.RuntimeException: java.lang.OutOfMemoryError: PermGen space
at com.mirth.connect.donkey.server.channel.Channel.di spatchRawMessage(Channel.java:1173)
at com.mirth.connect.donkey.server.channel.SourceConn ector.dispatchRawMessage(SourceConnector.java:191)
at com.mirth.connect.donkey.server.channel.SourceConn ector.dispatchRawMessage(SourceConnector.java:169)
at com.mirth.connect.connectors.jdbc.DatabaseReceiver .processRecord(DatabaseReceiver.java:200)
at com.mirth.connect.connectors.jdbc.DatabaseReceiver .processResultSet(DatabaseReceiver.java:160)
at com.mirth.connect.connectors.jdbc.DatabaseReceiver .poll(DatabaseReceiver.java:117)
at com.mirth.connect.donkey.server.channel.PollConnec tor$PollConnectorTask.run(PollConnector.java:131)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.RuntimeException: java.lang.OutOfMemoryError: PermGen space
at com.mirth.connect.donkey.server.channel.Channel.ha ndleDestinationChainThrowable(Channel.java:1731)
at com.mirth.connect.donkey.server.channel.Channel.pr ocess(Channel.java:1658)
at com.mirth.connect.donkey.server.channel.Channel.di spatchRawMessage(Channel.java:1155)
... 8 more
Caused by: java.lang.OutOfMemoryError: PermGen space


I didn't change anything on this instance. no new channel, no code change.

Is there something in the new version that could explain these outages ? Any new way to manage connections or file read ?

How can I workaround this ?
Reply With Quote
  #2  
Old 04-28-2015, 10:56 AM
anand14 anand14 is offline
OBX.2 Kenobi
 
Join Date: Dec 2006
Posts: 54
anand14
Default

What is your PermGen size set to?

On the Mirth appliance, it is located at
Applications --> Mirth Connect --> Manage --> Mirth Connect Settings

I would venture a guess that you would need to increase that value.
Reply With Quote
  #3  
Old 04-28-2015, 11:03 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road
Default

I'd also recommend upgrading to Java 8, since a lot of permgen/metaspace improvements and changes were made.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
Reply

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 01:46 PM.


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