Mercurial > dive4elements > river
comparison flys-backend/ChangeLog @ 501:04d449f7f0c9
Importer: Change caching strategy not to cause OOM any more.
flys-backend/trunk@1855 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 09 May 2011 00:15:45 +0000 |
parents | d50cd3a632e0 |
children | c6889097f81f |
comparison
equal
deleted
inserted
replaced
500:d50cd3a632e0 | 501:04d449f7f0c9 |
---|---|
1 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2 | |
3 * src/main/java/de/intevation/flys/importer/ImporterSession.java: | |
4 Do not load _all_ values from discharge tables and | |
5 wst columns. This is extremly slow and will lead | |
6 to OOM if more rivers are imported. Now only the | |
7 last 20 columns und discharge tables are cached. | |
8 | |
9 * src/main/java/de/intevation/flys/importer/ValueKey.java: | |
10 New. Key for caching discharge table values and wst | |
11 column values. | |
12 | |
13 * src/main/java/de/intevation/flys/importer/IdValueKey.java: | |
14 Fixed bug in equals(). | |
15 | |
16 * src/main/java/de/intevation/flys/importer/ImportWstColumn.java: | |
17 Removed too eloquent debug output. | |
18 | |
1 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> | 19 2011-05-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
2 | 20 |
3 * src/main/java/de/intevation/flys/importer/IdValueKey.java: | 21 * src/main/java/de/intevation/flys/importer/IdValueKey.java: |
4 Use BigDecimals as representation for the numeric components | 22 Use BigDecimals as representation for the numeric components |
5 which prevents running into unique constraint problems | 23 which prevents running into unique constraint problems |