Thanks. My next step was going to be looking up those parameters. I think Java needs it's own multiplatform starter program like thing. >From the user standpoint it doesn't seem write once run anywhere.
On 1/17/09, Renaud MICHEL <[email protected]> wrote: > Le samedi 17 janvier 2009 à 05:20, David Newman a écrit : >> java -jar -Xms2g -Xmx2g josm-latest.jar >> >> This sets both the minimum and maximum java heap size to 2GB. > > Whoa! > Never set the minimum heap size (-Xms) this high! > The virtual machine will try to allocate all the minimum heap size at > startup, filling uselessly your memory. > On the other hand, you can set the maximum heap size (-Xmx) very high if you > want, it will only be used if needed (but I'd recommand not using a value > higher than your physical memory, except if you are working on a server > environment). > Actually you probably don't need to change the minimum heap, memory will be > allocated as needed. Setting the minimum heap is useful if you know your > program will always use that much memory and you want it quickly allocated > at startup. > > -- > Renaud Michel > > pgp: 0x630E6AC4 > (fingerprint: E051 75D0 0E02 4D7B 0384 5D8F 2A70 C289 630E 6AC4) > > > _______________________________________________ > newbies mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/newbies > -- Jeffrey John Martin [email protected] _______________________________________________ newbies mailing list [email protected] http://lists.openstreetmap.org/listinfo/newbies

