1 Reply Latest reply on Apr 15, 2016 11:13 AM by Max Barkley

    Exclude file from initial scanning

    simone gimelli Newbie

      Is it possibile to exclude class or path from the initial vfs scanning?


      I have a project with thousand of classes used to perform batch operation that are not related in any way to errai, .

      When i start i get this information:


      15:10:03,907 INFO  [org.jboss.errai.common.metadata.MetaDataScanner] (Thread-74) added class scanning extensions: org.jboss.errai.common.metadata.JbossVFsTypeHandler

      15:10:36,301 INFO  [org.jboss.errai.reflections.Reflections] (Thread-74) Reflections took 32367 ms to scan 8 urls, producing 504 keys and 217160 values [using 2 cores]

      and about 1.5Gb of heap memory is allocated and never released.


      I would like to remove scanning of this class to avoid wasting memory and startup time