提交 e62cf0ff authored 作者: christian.peter.io's avatar christian.peter.io

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.
上级 a8e45c07
...@@ -21,6 +21,8 @@ Change Log ...@@ -21,6 +21,8 @@ Change Log
<ul><li>Server: CLOB data with unicode characters between character code 0xd800 and 0xdfff <ul><li>Server: CLOB data with unicode characters between character code 0xd800 and 0xdfff
were not transferred correctly. In many cases, the thread was stuck afterwards. were not transferred correctly. In many cases, the thread was stuck afterwards.
</li><li>Issue 264: the Hibernate dialect in src/tools was removed because it is outdated. </li><li>Issue 264: the Hibernate dialect in src/tools was removed because it is outdated.
</li><li>Cache size limit could be exceeded for certain queries, leading to an OutOfMemoryError
in some cases. Fixed.
</li></ul> </li></ul>
<h2>Version 1.3.148 Beta (2010-12-12)</h2> <h2>Version 1.3.148 Beta (2010-12-12)</h2>
......
...@@ -69,6 +69,7 @@ public class PageBtreeIndex extends PageIndex { ...@@ -69,6 +69,7 @@ public class PageBtreeIndex extends PageIndex {
if (trace.isDebugEnabled()) { if (trace.isDebugEnabled()) {
trace.debug("opened {0} rows: {1}", getName() , rowCount); trace.debug("opened {0} rows: {1}", getName() , rowCount);
} }
memoryPerPage = (Constants.MEMORY_PAGE_DATA + store.getPageSize()) >> 2;
} }
public void add(Session session, Row row) { public void add(Session session, Row row) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论