deephaven.jvm_init

Utilities for initializing the Deephaven JVM.

jvm_init(devroot=None, workspace=None, propfile=None, userHome=None, keyfile=None, librarypath=None, log4jconffile=None, workerHeapGB=12, jvmHeapGB=2, jvmOptions=None, verbose=False)

Initialize the JVM to run Deephaven.

Parameters
  • devroot – for Deephaven Java installation - must include trailing path separator

  • workspace – Java workspace directory

  • propfile – Deephaven Java propfile

  • userHome – User’s home directory

  • keyfile – path to private key file for Deephaven user authentication

  • librarypath – Java library path

  • log4jconffile – Log4j config file

  • workerHeapGB – desired worker heap in GB

  • jvmHeapGB – Desired jvm heap in GB

  • jvmOptions – optional jvm options

  • verbose – enable / disable verbose output

Note

for clarity, the userHome parameter should be provided. If not, it resolves to the home directory of user determined by environment variable USER or USERNAME. If neither of those is set, it resolves to the home directory of ~. These resolutions are performed using os.path.expanduser().