Sign in to follow this  
Followers 0
a237428367

Can let the Perst run only at in-memory mode ?

3 posts in this topic

Hi ,

I have a question ,

If i only want Perst run at in-memory mode. don't want it save in the file system.

What must i do ?

Best regards.

Lin

Share this post


Link to post
Share on other sites

db.open(new NullFile(), Storage.INFINITE_PAGE_POOL)

See the documentation for NullFile (\perst\doc14\org\garret\perst\NullFile.html) and INFINITE_PAGE_POOL (/perst/doc14/org/garret/perst/Storage.html#INFINITE_PAGE_POOL)

Also see /perst/tst14/benchmark.java for an example.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0