java.nio.file.FileSystemException:Too many open files plus MASSIVE storage space used?? #373
-
So doing some RAND on EclipseStore. have a relatively simple object (from dtd): where first are just enums. So test: Create 150,000 objects in a tight loop saving after each insertion (simulating events being created and added to the store) So 2 observations: a. 143,000 object takes up 86 GB of storage!! Is this by design?? We are looking at putting millions of objects in the store would that take Terabytes of storage ??? The Root is a simple container object that just has a list of these event objects. Also almost every run after about 143,000 items are inserted we get too many open files exceptions. Is there a flush that needs to be called?? What am I missing ?? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
Ok, it's not entirely clear in the documentation—we need to improve that.
Nevertheless, if you want to use adaptive housekeeping, you first create a foundation, where you replace the housekeeping controller with an AdaptiveHouseKeepingController. Then, you create the storage from this foundation.
I'm sending you a code snippet from a performance test. Of course, the values need to be adjusted according to your specific needs. It's usually best to experiment a little—just set the aggressiveness according to the required scenario.