提交 19210759 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 9891d306
...@@ -63,7 +63,7 @@ public class TestLob extends TestBase { ...@@ -63,7 +63,7 @@ public class TestLob extends TestBase {
private void testLobServerMemory() throws Exception { private void testLobServerMemory() throws Exception {
deleteDb("lob"); deleteDb("lob");
Connection conn = getConnection("lob;TRACE_LEVEL_FILE=3"); Connection conn = getConnection("lob");
Statement stat = conn.createStatement(); Statement stat = conn.createStatement();
stat.execute("CREATE TABLE TEST(ID INT, DATA CLOB)"); stat.execute("CREATE TABLE TEST(ID INT, DATA CLOB)");
PreparedStatement prep = conn.prepareStatement("INSERT INTO TEST VALUES(1, ?)"); PreparedStatement prep = conn.prepareStatement("INSERT INTO TEST VALUES(1, ?)");
......
...@@ -88,7 +88,7 @@ public class TestMemoryUsage extends TestBase { ...@@ -88,7 +88,7 @@ public class TestMemoryUsage extends TestBase {
System.gc(); System.gc();
System.gc(); System.gc();
int used = MemoryUtils.getMemoryUsed(); int used = MemoryUtils.getMemoryUsed();
if ((used - start) > 5000) { if ((used - start) > 6000) {
fail("Used: " + (used - start)); fail("Used: " + (used - start));
} }
stat.execute("drop table test"); stat.execute("drop table test");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论