forked from Qortal-Forker/qortal
Fixed out of memory errors when copying AT states.
This commit is contained in:
@@ -153,6 +153,7 @@ public class HSQLDBDatabasePruning {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
repository.saveChanges();
|
||||||
|
|
||||||
} while (latestAtStatesResultSet.next());
|
} while (latestAtStatesResultSet.next());
|
||||||
}
|
}
|
||||||
@@ -161,8 +162,6 @@ public class HSQLDBDatabasePruning {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
repository.saveChanges();
|
|
||||||
|
|
||||||
|
|
||||||
// Finally, drop the original table and rename
|
// Finally, drop the original table and rename
|
||||||
LOGGER.info("Deleting old AT states...");
|
LOGGER.info("Deleting old AT states...");
|
||||||
|
|||||||
Reference in New Issue
Block a user