Hi,
It depends on how big your dataset is, but first thing you can do is to
check how much memory space is allocated to your jvm. I think default is
64 Mo which is quite low. It can be extended with the java option -Xmx ;
ex.
java -Xmx512M -cp classpath javaclass options
It is easy to change in the .bat file under windows (or the .sh file
under linux I think)
Note that OpenJUMP version (
http://sourceforge.net/project/showfiles.php?group_id=118054 ) may use
less memory for dataset with many attributes as its dbf driver has been
optimized
Last solution is to break you dataset in smaller ones, but I sincerly
hope you'll find a better solution.
Michael
Good afternoon!
I downloaded the JUMP application and I think it will work well to
help me with some polygon matching that I need to do. The problem I’m
having is that when I attempt to load the datasets, I get an error
that says “java heap space (out of memory error)”. Is there a way to
increase the amount of data that can be loaded into the application?
If not, I guess I will have to break apart the dataset and do the
matching piece by piece.
Thanks!
Laura
java.lang.OutOfMemoryError: Java heap space
at java.lang.AbstractStringBuilder.<init>(Unknown Source)
at java.lang.StringBuffer.<init>(Unknown Source)
at org.geotools.dbffile.DbfFile.GetDbfRec(DbfFile.java:204)
at
com.vividsolutions.jump.io.ShapefileReader.read(ShapefileReader.java:168)
at
com.vividsolutions.jump.io.datasource.DelegatingCompressedFileHandler.read(DelegatingCompressedFileHandler.java:79)
at
com.vividsolutions.jump.io.datasource.ReaderWriterFileDataSource$1.executeQuery(ReaderWriterFileDataSource.java:61)
at
com.vividsolutions.jump.workbench.datasource.LoadDatasetPlugIn.run(LoadDatasetPlugIn.java:136)
at
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:118)
at java.lang.Thread.run(Unknown Source)
------------------------------------------------------------------------
_______________________________________________
jump-users mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jump-users
_______________________________________________
jump-users mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jump-users