[CORDA-1356]: OOM when using Demobench + Explorer (fix). (#3268)

This commit is contained in:
Michele Sollecito 2018-05-30 15:04:24 +01:00 committed by GitHub
parent 6f0363258e
commit 26ef294d8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -7,6 +7,8 @@ release, see :doc:`upgrade-notes`.
Unreleased
==========
* Removed -xmx VM argument from Explorer's Capsule setup. This helps avoiding out of memory errors.
* Shell now kills an ongoing flow when CTRL+C is pressed in the terminal.
* ``ServiceHub`` and ``CordaRPCOps`` can now safely be used from multiple threads without incurring in database transaction problems.

View File

@ -40,11 +40,9 @@ task buildExplorerJAR(type: FatCapsule, dependsOn: project(':tools:explorer').co
caplets = ['ExplorerCaplet']
// JVM configuration:
// - Constrain to small heap sizes to ease development on low end devices.
// - Switch to the G1 GC which is going to be the default in Java 9 and gives low pause times/string dedup.
//
// If you change these flags, please also update Driver.kt
jvmArgs = ['-Xmx512m', '-XX:+UseG1GC']
jvmArgs = ['-XX:+UseG1GC']
}
}