Skip to content

Conversation

stepeos
Copy link
Contributor

@stepeos stepeos commented May 28, 2025

Some isseus I see is that i had to use java's cleaner to ensure that files are deleted when the allocator is GCed, which requires Java 9.

the tests run with the new allocator.

@stepeos
Copy link
Contributor Author

stepeos commented Jun 9, 2025

If the java version bump is an issue, maybe we could instead modify the new constructor for the MessageBuilder and subsequently of the new allocator to take a directory in which to store the files and call the deletion of said folder once the message has been streamed to file for each allocated object (e.g. via callback). This way, the filesystem is not carrying so much redundant data. Then we could totally avoid the cleanup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant