Changes between Initial Version and Version 1 of Ticket #776, comment 3
- Timestamp:
- 16.03.2015 18:20:10 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #776, comment 3
initial v1 1 1 Yes, when creating 100.000 topics in a single transaction I can imagine that you run out-of-memory as the transaction log becomes huge. 2 2 3 Try this: avoid DM from creating the p re-request transaction by removing the `@Transactional` annotation from your resource method. Instead create the transactions manually (via `dms.beginTx()`), for example one for every single topic.3 Try this: avoid DM from creating the per-request transaction by removing the `@Transactional` annotation from your resource method. Instead create the transactions manually (via `dms.beginTx()`), for example one for every single topic. 4 4 5 5 The ''bulk updates'' I've once mentioned (#325) are related to /Migrations/. There the developer has no chance to avoid DM from creating the outer transaction. In contrast, in your case -- a resource method -- you have.