Apache Lucene.Net 2.4.0 Class Library API

RAMDirectory.Close Method 

Closes the store to future operations, releasing associated memory.

public override void Close();

See Also

RAMDirectory Class | Lucene.Net.Store Namespace