This content has been marked as final.
Show 2 replies
-
1. Re: How to stop Modeshape using Transient Binary Store for large Strings
hchiorean Oct 13, 2015 2:58 AM (in response to ma6rl)The transient binary store isn't exposed by the JBoss AS configuration and as such, you can't really configure it. It's not difficult to add it though, so you can open an enhancement request for this.
In the meantime, I can think of a couple of options:
- use a regular FS store, but which stores data in ${java.io.tmpdir} (or any other temp dir). This is really what the Transient Store does anyway: modeshape/TransientBinaryStore.java at master · ModeShape/modeshape · GitHub
- use a cache binary-store backed by an ISPN in-memory cache without a persistent store. This would ensure that no binaries aren't saved across restart.
Both of the above would allow you to set the min-string-size attribute to get the desired effect.
-
2. Re: How to stop Modeshape using Transient Binary Store for large Strings
ma6rl Oct 13, 2015 4:44 PM (in response to hchiorean)hchiorean, thanks for the information and the workarounds. I'll give them a try. I have created [MODE-2512] Allow the transient binary store to be configured - JBoss Issue Tracker as an enhancement to allow the transient binary store to be configured.