Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweaks plus partial fix to memory leak problem
When loading certain streets e.g. Chavila Checker, the programme exceeded 256 MB, even when just one snap loaded and only about 7 quoins. Removing the cache for the image when it was unloaded appeared to fix the problem (processing/processing#1391). There is still some memory problem which I think is down to Processing as a simple load street snap/unload street snap showed that after the unload, the memory didn't return to the initial level before the first load - some memory is not being released. Not sure I can do anything about that other than set the memory bar for the programme a bit higher e.g. to 300mb. As it is useful, on level 1 error tracing, memory information is dumped out when loading/unloading images - can then be put in a spreadsheet (import, split at ,) and graphed so can see what is happening. Also changed quoin output info to only give the class name - type is irrelevant as included in class name information. And improved some tracing for when start processing an item on a street.
- Loading branch information
Showing
6 changed files
with
64 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters