Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将 apache jena 与 TDB 一起使用。我刚刚从jena 3.9.0 中阅读了一些代码,似乎TDB 使用mmap 来加速查询(MappedByteBuffer)。但是我看到块(MappedByteBuffer)只会增长但不会缩小。这会导致内存问题吗?
这应该不是问题。
内存映射文件由操作系统控制有多少文件复制到 RAM(文件系统缓存)中。操作系统会根据系统资源和应用程序需求,上下调整使用的空间量。