Hi Lynellen,
java -Xmx256
java -h will print out the standard flags for the jvm, and java -X will
print out the non-standard flags.
- Don
On Friday, February 7, 2003, at 11:50 AM, Perry, Lynellen wrote:
> Hi all,
>
> I'm trying to port my layer to a Solaris 8 system instead of a W2K
> system.
>
> When I startup, I got an "out of memory" error, so I put in the
> command line options for Java that worked on W2K, and they dont work
> on Solaris. I now get "unrecognized option" errors.
> I'm using
> -m256m -Xm256m
> as additions to my startup options for OpenMap
>
> Does anyone know what I need to do to correct this?
>
> Thanks!
> --Lynellen
>
> -----Original Message-----
> From: Adrian Lumsden [mailto:Adrian.Lumsden@sss.co.nz]
> Sent: Thursday, October 10, 2002 7:27 PM
> To: Perry, Lynellen
> Cc: 'openmap-users@bbn.com'
> Subject: Re: OutOfMemory when loading 2MB OMScalingRaster
>
>
> Hello,
>
> I had that problem when I first developed the code that did the
> clipping and scaling from the source image.
>
> I am currently displaying two gif files as the base images for my map.
> They are 5.31MB and 5.56MB each.
>
> Your 2.01MB jpeg will expand to use more memory when it loads. The
> amount it needs will depend on the amount of compression used when
> making the file.
>
> I got around this problem by using the -Xmx option on the Java command
> line. I currently use -Xmx256M which sets the maximum heap size to
> 256MB.
>
>
> Hope this helps.
>
> with regards,
>
> Adrian
>
> _____________________________________________
>
> Adrian Lumsden
> Product Specialist
> Scientific Software and Systems Limited
>
> Tel: +64 4 917-6670 (reception)
> +64 4 917-6680 (direct)
> Fax: +64 4 917-6671
> E-mail: Adrian.Lumsden@sss.co.nz
>
> Visit us on the Web at: http://www.sss.co.nz
> _____________________________________________
>
> This e-mail passed SSS's content security scan.
> It is covered by the confidentiality clauses at
> http://www.sss.co.nz/content_and_confidentiality
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Fri Feb 7 12:02:37 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:34 EDT