Re: [OpenMap Users] Help Needed!

From: Bart Jourquin <bart.jourquin_at_fucam.ac.be>
Date: Thu, 14 Sep 2006 20:30:52 +0200

Guang,

If you are running from within Eclipse, you have to pass the -Xmx
parameter to your app, not Eclipse itself.

Go into the "Run" configuration of your app, then into the "Arguments"
tab, and add -Xmx"YourAmount"M into the "VM arguments" text area....

Bart

Le jeudi 14 septembre 2006 à 06:07 -0700, guang chen a écrit :

> Hi Prof. / Dr. Bart Jourquin,
>
> Really appreciate for your great help!
>
> Followed your directions, I run the command: "eclipse
> -vm C:\j2sdk1.4.2_12\jre\bin\javaw -vmargs -Xmx1800M"
> to try to increase heap to 1.8 GB.
>
> However, I got the same error message:
> "...java.land.OutOfMemoryError: Java heap space"
>
> Regards,
>
> Guang
> --- Bart Jourquin <bart.jourquin_at_fucam.ac.be> wrote:
>
> > Hi Guang,
> >
> > You just have to give more heap space to you Java
> > VM, using de -Xmx
> > parameter.
> >
> > Example : "java -Xmx256M ... your usual parameters"
> > will set the Heap
> > size to 256 Mo (instead of the default size, which
> > is 64Mo I guess, at
> > least in older Java releases)
> >
> > Bart
> >
> > Le mercredi 13 septembre 2006 ?11:51 -0700, guang
> > chen a écrit :
> >
> > > Hi All,
> > >
> > > I used Repast to insert some characters into some
> > > records of gis shape file.
> > >
> > > If the records are around thousands, the job run
> > OK.
> > > However, I failed to use this to process a shape
> > file
> > > with 214101 records, I got an error: "Exception in
> > > thread "AWT-EventQueue-0"
> > java.land.OutOfMemoryError:
> > > Java heap space".
> > >
> > > I really appreciate if you could help on any
> > available
> > > algorithms and codes to fix this error.
> > >
> > > Regards,
> > >
> > > Guang
> > >
> > >
> > >
> > > --
> > > [To unsubscribe to this list send an email to
> > "majdart_at_bbn.com"
> > > with the following text in the BODY of the message
> > "unsubscribe openmap-users"]
> >
> > --
> > Prof Dr Bart Jourquin
> > F.U.Ca.M. - G.T.M.
> > Chaussée de Binche, 151a
> > B7000 Mons, Belgium
> > Tel. : +32 65 323293
> > Fax. : +32 65 315691
> > http://www.fucam.ac.be/jourquin
> >
>

---
Prof Dr Bart Jourquin
F.U.Ca.M. - G.T.M.
Chaussée de Binche, 151a, B7000 Mons (Belgium)
Tel. : +32 65 323293, Fax. : +32 65 315691
http://www.fucam.ac.be/jourquin 
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Sep 14 2006 - 14:55:03 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT