/** * Gets the default performance tuning settings for the framework. Advanced users can tweak the * framework by modifying these properties and passing the modified Properties object into the * {@link #produceTAE(ResourceSpecifier,Map)} or * {@link #produceCollectionProcessingEngine(CpeDescription,Map)} methods by putting it into the * <code>aAdditionalParams</code> map under the key * {@link Resource#PARAM_PERFORMANCE_TUNING_SETTINGS}. For example, the following code set the * initial heap size allocated in the CAS to 100,000: * * <pre> * Properties uimaPerfProps = UIMAFramework.getDefaultPerformanceTuningProperties(); * uimaPerfProps.setProperty(UIMAFramework.CAS_INITIAL_HEAP_SIZE, "100000"); * HashMap params = new HashMap(); * params.put(Resource.PARAM_PERFORMANCE_TUNING_SETTINGS, uimaPerfProps); * AnalysisEngine ae = UIMAFramework.produceAnalysisEngine(specifier, params); * </pre> * * <p> * Valid keys for the {@link Properties} object returned by this method are specified as * constants on this interface. * * @return the default set of performance tuning properties. A new object is returned each time * this method is called, so changes made to the returned objects will not affect other * callers. */ public static Properties getDefaultPerformanceTuningProperties() { return getInstance()._getDefaultPerformanceTuningProperties(); }