Merge remote-tracking branch 'open/master' into merge/tudor-26-03

# Conflicts:
#	testing/node-driver/src/main/kotlin/net/corda/testing/driver/Driver.kt
This commit is contained in:
tudor.malene@gmail.com
2018-03-26 14:07:28 +01:00
6 changed files with 10 additions and 10 deletions

View File

@ -154,7 +154,7 @@ data class NodeParameters(
val verifierType: VerifierType = VerifierType.InMemory,
val customOverrides: Map<String, Any?> = emptyMap(),
val startInSameProcess: Boolean? = null,
val maximumHeapSize: String = "200m",
val maximumHeapSize: String = "512m",
val logLevel: String? = null
) {
fun withProvidedName(providedName: CordaX500Name?): NodeParameters = copy(providedName = providedName)

View File

@ -77,7 +77,7 @@ interface DriverDSL {
* in. If null the Driver-level value will be used.
* @param maximumHeapSize The maximum JVM heap size to use for the node as a [String]. By default a number is interpreted
* as being in bytes. Append the letter 'k' or 'K' to the value to indicate Kilobytes, 'm' or 'M' to indicate
* megabytes, and 'g' or 'G' to indicate gigabytes. The default value is "200m" = 200 megabytes.
* megabytes, and 'g' or 'G' to indicate gigabytes. The default value is "512m" = 512 megabytes.
* @return A [CordaFuture] on the [NodeHandle] to the node. The future will complete when the node is available.
*/
fun startNode(

View File

@ -225,7 +225,7 @@ class DriverDSLImpl(
verifierType: VerifierType,
customOverrides: Map<String, Any?>,
startInSameProcess: Boolean? = null,
maximumHeapSize: String = "200m",
maximumHeapSize: String = "512m",
p2pAddress: NetworkHostAndPort = portAllocation.nextHostAndPort()): CordaFuture<NodeHandle> {
val rpcAddress = portAllocation.nextHostAndPort()
val rpcAdminAddress = portAllocation.nextHostAndPort()
@ -376,7 +376,7 @@ class DriverDSLImpl(
)
val cordaConfig = typesafe.parseAsNodeConfiguration()
val config = NodeConfig(rawConfig, cordaConfig)
return startNodeInternal(config, webAddress, null, "200m", localNetworkMap)
return startNodeInternal(config, webAddress, null, "512m", localNetworkMap)
}
private fun queryWebserver(handle: NodeHandle, process: Process): WebserverHandle {
@ -638,7 +638,7 @@ class DriverDSLImpl(
monitorPort,
systemProperties,
cordappPackages,
"200m",
"512m",
*extraCmdLineFlag
)