ColdBox Forums Notification: Post to InterceptorCantBeCached Error

Title: RE: InterceptorCantBeCached Error
Thread: InterceptorCantBeCached Error
Forum: Need Help?
Conference: ColdBox
User: lmajano I have been getting this error when setting the JVM Free Memory percentage
threshold very high on my development machine. Why? Well, I usually have several
instances and with not that much memory, therefore the jvm fills up very
rapidly. So usually a browser refresh makes it work. But why? Easy, the JVM
has already done some garbage collecting and the Free Percentage Threshold has
gone up. Therefore, you can cache again. This is a protection guys, a
protection that you can lower on development machines due to the amount of RAM
you have available. I suggest taking a look at the environment control
interceptor to dynamically change your cache settings for a development
instance. Maybe set the threshold to 0 = unlimited for dev.