typesafehub / sbt-conductr

Typesafe ConductR plugin for sbt
Other
29 stars 22 forks source link

Validates resident memory #182

Closed huntc closed 7 years ago

huntc commented 7 years ago

This memory checking verification should help users avoid specifying resident memory values that are too low at runtime.

huntc commented 7 years ago

Sample output:

[error] - The bundle's resident 'memory' setting of 64 MiB is too low. Either increase it or lower the bundle's minMemoryCheckValue setting of 384 MiB. Note that a bundle's resident memory is not Java heap memory. Also note that exceeding this memory at runtime can cause your process to be killed unexpectedly. Tip: Use the Unix top command to determine this value by observing the RES column for your process and then rounding up to the nearest 10 MiB.