Child pages
  • Increasing maximum memory allotment

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The OnePacs Study Retriever has configurable memory settings for the maximum amount of memory that the embedded java executable may consume.  In situations where multiple concurrent downloads of large instances are required, it may be necessary to increase the maximum memory setting for the Study Retriever.  Conversely, on systems with very limited memory, it may be desireable desirable to limit the maximum amount of system memory used by the Study Retriever.  The default memory settings varies based on the version installed. 

...

SR VersionDefaultMinimumMaximum
6.0.0 and older512 MB256 MB1200 MB
6.0.1 and later1024 MB256 MB1200 MB
8.1 and later2048 MB256 MB4096 MB
Warning

Modifying the minimum memory setting (Xms) is not recommended or supported.  Please leave this value at it's default. 

...

  1. With a text editor, edit the file called java.properties located in C:\Program Files\onepacsOnePacs\poller\conf
  2. Modify the value beginning with "-Xmx" to the desired value.  For example, to change from 512 MB to 1000 MB, you would delete the "512" value and replace with "1000"
  3. Save the changes.
  4. Restart the OnePacs Study Retriever by double-clicking on the "Restart Study Retriever" desktop icon.

Modifying the Max Memory Setting (

...

macOS)

To modify the OS X Study Retriever's memory settings perform the following steps.

  1. In Finder, go to Applications, right-click on "Study Retriever", and select "Show package contents."
  2. Navigate to Contents and edit Info.plist with a text editor
  3. Modify the value beginning with "-Xmx" to the desired value.  For example, to change from 512 MB to 1000 1024 MB, you would delete the "512" value and replace with "10001024"
  4. Save the changes.
  5. Restart the OnePacs Study Retriever application.