提交 078dcece authored 作者: Thomas Mueller's avatar Thomas Mueller

Cache size limit could be exceeded for certain queries, leading to an…

Cache size limit could be exceeded for certain queries, leading to an OutOfMemoryError in some cases.
上级 9ade2ab8
......@@ -69,7 +69,7 @@ public class PageBtreeIndex extends PageIndex {
if (trace.isDebugEnabled()) {
trace.debug("opened {0} rows: {1}", getName() , rowCount);
}
memoryPerPage = (Constants.MEMORY_PAGE_DATA + store.getPageSize()) >> 2;
memoryPerPage = (Constants.MEMORY_PAGE_BTREE + store.getPageSize()) >> 2;
}
public void add(Session session, Row row) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论