Warn about metadata and heap size ?

Rod Widdowson rdw at steadingsoftware.com
Wed Sep 30 11:42:08 EDT 2015


> Just wondering if in v3 we want the metadata resolver to warn and possibly
> not reload if a metadata file size is larger than some value. For example, -
> Xmx768m does not seem quite enough for the ~20m UK federation
> metadata. I guess I would rather see a log message at warn that says “raise
> your heap size” than “java.lang.OutOfMemoryError”, unless of course the
> latter is recoverable.

My instinct is that this is being overly cute.  It’s the misanthropist in me, but I cannot help but believe that the people who might benefit from this wouldn't see the warning, and the ones who would see the warning wouldn't need it.





More information about the dev mailing list