web stats
Silent Install JRE issue - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 12-04-2019, 06:31 AM
davidlionetti davidlionetti is offline
What's HL7?
 
Join Date: Dec 2019
Posts: 1
davidlionetti is on a distinguished road
Default Silent Install JRE issue

Is there a way to set JRE options for a silent install? When doing a silent install for version 3.8.0.b2464 on a Windows Server 2012R2 (with 50Gb of RAM) from a PowerShell script, I get the following errors:

The JVM could not be started. The maximum heap size (-Xmx) might be too large or an antivirus or firewall tool could block the execution.

Error occurred during initialization of VM
Unable to allocate 409600KB bitmaps for parallel garbage collection for the requested 13107200KB heap.

I was using the open JDK (v12.0.1.12) and I even tried uninstalling that JRE in to use the built in Install4j version, but I get the same error either way.

The command line I am using is simply Start-Process $MirthExecutablePath -ArgumentList "$MirthArguments" -RedirectStandardOutput $stdOutLog -RedirectStandardError $stdErrLog -Wait

Where the Arguments list is:
$MirthArguments = "-q -varfile `"<path_to_varfile>`""

I tried setting a system environment variable for JAVA_OPTIONS -Xmx2048m but no luck

Thanks in advance for any advice
Reply With Quote
Reply

Tags
heap size, jre, silent install

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 11:35 PM.


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