Ticket #662 (closed assessed: fixed)
Ecospace may run out of memory on regions
Reported by: | jeroens | Owned by: | joeb |
---|---|---|---|
Priority: | high | Milestone: | NOT SET |
Component: | Ecospace | Version: | 6.4.3 |
Severity: | crash | Keywords: | Ecospace, memory |
Cc: |
Description (last modified by jeroens) (diff)
If every cell is converted into a region Ecospace may run out of memory on larger maps (I used the TampaBay 2km scenario)
The functionality to convert every cell into a region has been disabled on Ecospace until this issue is solved.
Change History
comment:3 Changed 15 years ago by jeroens
- Keywords Ecospace, memory added
- Type changed from not assessed to assessed
comment:4 Changed 15 years ago by shermanl
- Milestone changed from Ecopath 6: build 6.0.7 to Ecopath 6: build 6.0.8
comment:7 Changed 15 years ago by jeroens
The software will throw a warning prompt if this operation results in creation of more than 500 regions. It's arbitrary, but probably ok for now until we have a better solution.
comment:8 Changed 15 years ago by joeb
I have also added error handling to the memory allocation in cEcospaceDataStructures that posts a messages in there is a memory exception. This warns the user and stops Ecospace from running.
It's getting better... still not a solution...
comment:9 Changed 15 years ago by jeroens
- Milestone changed from Ecopath 6: build 6.0.8 to Ecopath 6: build 6.1.1
comment:10 Changed 14 years ago by jeroens
- Milestone changed from Ecopath 6: release 6.1.1 to Ecopath 6: release 6.2
comment:11 Changed 14 years ago by jeroens
- Milestone changed from Ecopath 6: release 6.2 to Ecopath 6: release 6.3
comment:12 Changed 11 years ago by jeroens
- Version set to 6.3.1
- Milestone changed from Ecopath 6: release 6.3 BETA to NOT SET
comment:13 Changed 10 years ago by jeroens
- Status changed from new to closed
- Version changed from 6.3.1 to 6.4.3
- Resolution set to fixed
Input and output arrays in Ecospace have been converted to sparse arrays. Not all of Ecospace has been taken care of, but this has reduced the chances of out of memory errors significantly.