Changes between Initial Version and Version 1 of Ticket #776, comment 3


Ignore:
Timestamp:
16.03.2015 18:20:10 (10 years ago)
Author:
jri
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #776, comment 3

    initial v1  
    11Yes, when creating 100.000 topics in a single transaction I can imagine that you run out-of-memory as the transaction log becomes huge. 
    22 
    3 Try this: avoid DM from creating the pre-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. 
     3Try 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. 
    44 
    55The ''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.