We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0825b6 commit fc615deCopy full SHA for fc615de
src/main/java/com/maxmind/db/Reader.java
@@ -241,7 +241,17 @@ public Metadata getMetadata() {
241
}
242
243
/**
244
- * Closes the MaxMind DB and returns resources to the system.
+ /**
245
+ * <p>
246
+ * Closes the database.
247
+ * </p>
248
249
+ * If you are using <code>FileMode.MEMORY_MAPPED</code>, this will
250
+ * <em>not</em> unmap the underlying file due to a limitation in Java's
251
+ * <code>MappedByteBuffer</code>. It will however set the reference to
252
+ * the buffer to <code>null</code>, allowing the garbage collector to
253
+ * collect it.
254
255
*
256
* @throws IOException if an I/O error occurs.
257
*/
0 commit comments