forked from Qortal/qortal
Fixed out of memory errors when copying AT states.
This commit is contained in:
parent
cdf47d4719
commit
41c2ed7c67
@ -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...");
|
||||||
|
Loading…
Reference in New Issue
Block a user