DirectoryDataStore caches files in the directory permanently
------------------------------------------------------------

                 Key: GEOT-2184
                 URL: http://jira.codehaus.org/browse/GEOT-2184
             Project: GeoTools
          Issue Type: Bug
          Components: data directory
    Affects Versions: 2.5.1
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 2.5.2


The directory data store does a full sweep of the directory on creation, and 
then keeps that list of datastores... forever. This is not good, the list might 
be very very long, thus lead to high memroy consumption, plus the filesystem 
contents might change.
What about keeping a simple list of type names instead, and creating the 
datastore only when a feature source/schema for them is actually requested?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to