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
The scanner will search all URLs where it finds an ErraiApp.properties files. If you have lots of classes that are not Errai related, I would suggest putting them in their own jar that does not have an ErraiApp.properties in it.