Advanced Threat Detection never turns on for me

  • I am running 1.30 and advanced threat detection (on the reactor page) is always stuck in "Pending" state.

    When I look at my logs, they have error messages like:

    fusionauth_1  | Caused by: java.lang.OutOfMemoryError: Java heap space
    fusionauth_1  | 2021-08-20 12:28:36.995 AM ERROR com.inversoft.scheduler.LogAndRetainFailureHandler - The scheduled service [class io.fusionauth.api.service.cache.MaxMindDatabaseLoader] failed but will be re-run.
    fusionauth_1  | java.lang.Exception: java.lang.OutOfMemoryError: Java heap space
    fusionauth_1  |         at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    fusionauth_1  |         at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(
    fusionauth_1  |         at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(
    fusionauth_1  |         at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(
    fusionauth_1  |         at java.base/java.lang.reflect.Constructor.newInstance(
    fusionauth_1  |         at org.mybatis.guice.transactional.TransactionalMethodInterceptor.convertThrowableIfN

    What is going on?

  • If you are running Advanced Threat Detection, you need at least 2GB of memory for each FusionAuth node.

    Here's the system requirements: which document the 2GB requirement when using this feature.