[Gvsig_english] project cannot be opened

Benjamin Ducke benjamin.ducke at oxfordarch.co.uk
Fri Jul 9 15:03:05 CEST 2010


Your memory settings are very high. I have never been able
to get Java to find a contiguous chunk of memory that big
in 32-bit mode. The highest I could ever get was ca. 1500 MB 
(more like 1000 MB on Windows).

But try Vicente's suggestion first, as I think it sounds more
plausible.

Cheers,

Ben

----- Original Message -----
> Hi Benjamin,
> thank you for your answer.
> I see the problem with the memory too. We are fighting since a few
> days with this problem.
> As I can sent gvSIG.sh as attachment, see the content below.
> Thank you
> Cheers Rolf
> 
> *********************************************************************
> 
> #!/bin/sh
> # gvSIG.sh: startup script for gvSIG on Unix(tm) systems
> 
> # Jump into "bin" folder of gvSIG installation.
> cd "/opt/gvsig-oade-2010-rgu-1.0.1/bin"
> 
> # Setup the environment.
> export GVSIG_LIBS="../libs/"
> export LD_LIBRARY_PATH="$GVSIG_LIBS:$LD_LIBRARY_PATH"
> export PROJ_LIB="./gvSIG/extensiones/org.gvsig.crs/data"
> export GDAL_DATA="$GVSIG_LIBS/gdal_data"
> 
> 
> # Create a "gvSIG" folder for this user and make sure default files
> get copied in there
> # if not yet present or need to be updated.
> 
> if test ! -d "$HOME/gvSIG" ; then
> mkdir "$HOME/gvSIG"
> fi
> 
> if test ! -d "$HOME/gvSIG/Styles" || test ! -d "$HOME/gvSIG/Symbols" ;
> then mkdir "$HOME/gvSIG/Styles"
> mkdir "$HOME/gvSIG/Symbols"
> cp gvSIG/extensiones/org.gvsig.extended-symbology/default_symbology/*
> $HOME/gvSIG/ -R
> fi
> 
> if test ! -e "$HOME/gvSIG/andami-config.xml" ; then
> cp defaults/andami-config.xml "$HOME/gvSIG/"
> fi
> 
> for i in ./lib/*.jar ; do
> LIBRARIES=$LIBRARIES:"$i" done
> for i in ./lib/*.zip ; do
> LIBRARIES=$LIBRARIES:"$i" done
> 
> 
> # Setup Java environment and run gvSIG.
> 
> # Java tuning settings.
> MAX_HEAP=2024 INI_HEAP=2024
> 
> ../jre/bin/java -Djava.library.path=/usr/lib:"../libs" -cp
> andami.jar$LIBRARIES -Xms${INI_HEAP}M -Xmx${MAX_HEAP}M
> com.iver.andami.Launcher gvSIG gvSIG/extensiones "$@"
> 
> ********************************************************************************
> 
> 
> 
> Benjamin Ducke schrieb:
> > Hi Rolf,
> >
> > immediately before the heap space error, I see this in your log:
> >
> > DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory
> > usage 268531 KB
> >
> > ... which indicates that the system runs out of memory far below the
> > usual limit.
> >
> > Could you post the file /opt/gvsig-oade-2010-rgu-1.0.1/bin/gvSIG.sh?
> > Let's see if there is a problem with your memory settings.
> >
> > Cheers,
> >
> > Ben
> >
> > ----- Original Message -----
> >
> >> Dear list,
> >>
> >> I created a project with gvSIG 1.9.
> >> It contains 2 views with a lot of shape-files and several
> >> map-layouts with symbols.
> >> I successfully saved the project yesterday and closed the
> >> application. However, when trying to open the project again, an
> >> error message
> >> appears. "Java heap space." See attached gvSIG.log .
> >> The only really thing I can do was to delete the map-layouts.
> >> Without these deleted overlays I can work with the project.
> >> Has anybody an idea how to open my original-project.
> >>
> >> I start gvSIG with 2048 Gbite.
> >>
> >> Best regards,
> >> Rolf Annecke
> >>
> >>
> >>
> >>
> >> -- _________________________________________________ Rolf Annecke
> >> Referat für Gesundheit und Umwelt
> >> Abteilung Umweltschutz
> >> Gesundheits- und Umweltberichterstattung (GUBE)
> >> RGU-UW112 Bayerstr. 28a
> >> 80335 München
> >>
> >> Telefon: +49 - 89 - 233 - 4 77 15
> >> Telefax: +49 - 89 - 233 - 4 77 05
> >> Mailbüro: gube.rgu at muenchen.de
> >>
> >> Elektronische Kommunikation mit der Landeshauptstadt München:
> >> http://www.muenchen.de/ekomm
> >>
> >>
> >>
> >> [Text File:gvSIG.log]
> >>
> >> _______________________________________________ Gvsig_internacional
> >> mailing list
> >> Gvsig_internacional at listserv.gva.es
> >> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
> >>
> >
> >
> > ------ Files attached to this email may be in ISO 26300 format
> > (OASIS Open Document Format). If you have difficulty opening them,
> > please visit http://iso26300.info for more information.
> >
> > _______________________________________________ Gvsig_internacional
> > mailing list
> > Gvsig_internacional at listserv.gva.es
> > http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
> >
> 
> 
> --
> _________________________________________________ Rolf Annecke
> Referat für Gesundheit und Umwelt
> Abteilung Umweltschutz
> Gesundheits- und Umweltberichterstattung (GUBE)
> RGU-UW112 Bayerstr. 28a
> 80335 München
> 
> Telefon: +49 - 89 - 233 - 4 77 15
> Telefax: +49 - 89 - 233 - 4 77 05
> Mailbüro: gube.rgu at muenchen.de
> 
> Elektronische Kommunikation mit der Landeshauptstadt München:
> http://www.muenchen.de/ekomm


------
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.



More information about the Gvsig_internacional mailing list