You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by Apache Wiki <wi...@apache.org> on 2009/04/03 18:21:43 UTC

[Db-derby Wiki] Update of "InMemoryBackEndPrimer" by RichardHillegas

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by RichardHillegas:
http://wiki.apache.org/db-derby/InMemoryBackEndPrimer

------------------------------------------------------------------------------
    * restart the Java VM
    * use the static method ''VF!MemoryStorageFactory.purgeDatabase(String)''.
  
- The latter mechanism isn't part of Derby's published API (it is not documented), and will most likely be removed in the next version of Derby. '''Use it at your own risk'''.
+ The latter mechanism isn't part of Derby's published API (it is not documented), and will most likely be removed in the next version of Derby. '''Use it at your own risk'''. To purge the database from memory this way, do the following:
+ 
+   * shutdown the database
+   * then invoke ''VF!MemoryStorageFactory.purgeDatabase( (new java.io.File( dbName )).getCanonicalPath() )''.
+ 
  [[BR]]
  See also under the heading ''Future features''.