-
1. Re: How to define thread pools (e.g. for sequencing)?
hchiorean Jun 1, 2015 10:48 AM (in response to jkraushaar)If you look at the JSON schema (modeshape/repository-config-schema.json at master · ModeShape/modeshape · GitHub) the threadPool attribute allows you to give a custom name (string) to the thread(s) that perform the sequencing work. This is the only aspect of sequencing's threads behavior that you can configure.
-
2. Re: How to define thread pools (e.g. for sequencing)?
jkraushaar Jun 1, 2015 11:47 AM (in response to hchiorean)Thank you for your quick answer. In this case: Is there a possibility to limit the threads created by the thread pool?
One ouf our test scenarios rapidly creates 1000 files. We have a sequencer attached which calculates a checksum for those files. ModeShape seems to create 1000 threads, which leads to an OutOfMemoryException as no further native threads can be created.
-
3. Re: How to define thread pools (e.g. for sequencing)?
hchiorean Jun 2, 2015 2:52 AM (in response to jkraushaar)ATM. this is not possible, but I've opened https://issues.jboss.org/browse/MODE-2469 which we'll handle for 4.4.