Java Desktop App - MapServer slow sometimes

Umberto Nicoletti umberto.nicoletti at GMAIL.COM
Fri Nov 16 03:49:07 EST 2007


It could be because of gc.
Run the application with gc logging turned on and see if there is a
match between full gcs and application slowness:

java -Xloggc:file

HTH,
Umberto

On Nov 15, 2007 8:23 PM, Jeresin <info at jeresin.co.za> wrote:
> Hi all
>
> My Java desktop app works well and I'm quite happy with it. However, there
> is still a little issue that bothers me a bit.
>
> Normally, when the mapObj needs to be refreshed (due to a zoom, for
> instance), MapServer returns with an image quite swiftly. By the way, I'm
> getting the image directly via the getBytes() method. Other times (not
> often) MapServer takes a long time to return with the image...I've had to
> wait up to 30 seconds! The image is not particularly complex, and the same
> image has previously taken less than a second to be generated.
>
> Why the inconsistency?
> --
> View this message in context: http://www.nabble.com/Java-Desktop-App---MapServer-slow-sometimes-tf4816580.html#a13779798
> Sent from the Mapserver - User mailing list archive at Nabble.com.
>



More information about the mapserver-users mailing list