From: Andreas Kohlbecker Date: Wed, 2 Sep 2009 10:06:26 +0000 (+0000) Subject: yourkit profiler X-Git-Tag: 3.0.3~1892 X-Git-Url: https://dev.e-taxonomy.eu/gitweb/cdmlib.git/commitdiff_plain/1eb8774e5adf92892d6f22be174fb13222aaf793 yourkit profiler --- diff --git a/cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/faunaEuropaea/FaunaEuropaeaRelTaxonIncludeImport.java b/cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/faunaEuropaea/FaunaEuropaeaRelTaxonIncludeImport.java index b3befe46fe..4479c25f97 100644 --- a/cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/faunaEuropaea/FaunaEuropaeaRelTaxonIncludeImport.java +++ b/cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/faunaEuropaea/FaunaEuropaeaRelTaxonIncludeImport.java @@ -159,7 +159,6 @@ public class FaunaEuropaeaRelTaxonIncludeImport extends FaunaEuropaeaImportBase boolean success = true; - ProfilerController.memorySnapshot(); Map> stores = state.getStores(); MapWrapper taxonStore = (MapWrapper)stores.get(ICdmIO.TAXON_STORE); @@ -171,14 +170,14 @@ public class FaunaEuropaeaRelTaxonIncludeImport extends FaunaEuropaeaImportBase // TransactionStatus txStatus = startTransaction(); - success = retrieveChildParentUuidMap(state); ProfilerController.memorySnapshot(); + success = retrieveChildParentUuidMap(state); success = createRelationships(state); + ProfilerController.memorySnapshot(); // commitTransaction(txStatus); logger.info("End making taxa..."); - ProfilerController.memorySnapshot(); return success; } @@ -574,6 +573,9 @@ public class FaunaEuropaeaRelTaxonIncludeImport extends FaunaEuropaeaImportBase } for (int j = 1; j <= nbrOfBlocks + 1; j++) { + + ProfilerController.memorySnapshot(); + int offset = j - 1; int start = offset * limit;