Skip to content

java.nio.file.FileSystemException:Too many open files plus MASSIVE storage space used?? #373

Answered by zdenek-jonas
oje asked this question in Q&A
Discussion options

You must be logged in to vote

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.

    private static EmbeddedStorageFoundation<?> prepareStorageFoundation() {

        final EmbeddedStorageFoundation<?> foundation = EmbeddedStorage.Foundation().a…

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@zdenek-jonas
Comment options

@oje
Comment options

@oje
Comment options

@zdenek-jonas
Comment options

Answer selected by oje
@zdenek-jonas
Comment options

@oje
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants