From 984a9fb1c350b65759e5f86e6a1e82ef420ac3f1 Mon Sep 17 00:00:00 2001 From: Bosanac Dejan Date: Wed, 22 Jun 2011 13:08:23 +0000 Subject: [PATCH] https://issues.apache.org/jira/browse/AMQ-3374 - long kahadb tx - parse long git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1138449 13f79535-47bb-0310-9956-ffa450edef68 --- kahadb/src/main/java/org/apache/kahadb/page/Transaction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kahadb/src/main/java/org/apache/kahadb/page/Transaction.java b/kahadb/src/main/java/org/apache/kahadb/page/Transaction.java index 78210c5f94..0ac9a361b0 100644 --- a/kahadb/src/main/java/org/apache/kahadb/page/Transaction.java +++ b/kahadb/src/main/java/org/apache/kahadb/page/Transaction.java @@ -91,7 +91,7 @@ public class Transaction implements Iterable { // List of pages freed in this transaction private final SequenceSet freeList = new SequenceSet(); - private long maxTransactionSize = Integer.parseInt(System.getProperty("maxKahaDBTxSize", "" + 10485760)); + private long maxTransactionSize = Long.parseLong(System.getProperty("maxKahaDBTxSize", "" + 10485760)); private long size = 0;