WebStart periodically fails to start with -Xmx1024m

Tony Printezis Antonios.Printezis at sun.com
Mon Mar 16 09:19:03 PDT 2009


Shane,

Hi. Wild guess: the windows address space is fragmented and the JVM 
maybe cannot get the contiguous address space(s) that it needs to 
reserve for the heap and associated data structures?

Tony

Shane Cox wrote:
> Our customers download and execute our client application (front-end) 
> using WebStart.  Recently we increased the max heap size specified in 
> our JNLP file from -Xmx512m to -Xmx1024m.  After this update, many of 
> our customers running Windows XP called to complain that WebStart 
> would no longer launch/start.  After some brief troubleshooting we 
> discovered that many of these customers were running PCs with 2GB of 
> RAM, with about 1GB available.  So we were puzzled as to why WebStart 
> failed to launch.  We then reverted to the old max of -Xmx512m and 
> WebStart launched successfully.
>
> Any idea why specifying a max heap size of -Xmx1024m would cause 
> WebStart to fail to launch on some Windows XP PCs?  Unfortunately I 
> have no logs to share because the process fails to start and the only 
> error that we've observed is "unable to launch."  We've only been able 
> to recreate the problem in our test environments by setting -Xmx to an 
> even larger value such as -Xmx1500m.
>
>
> Below are the specific args that we specify in our JNLP file:
> java-vm-args="-XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=35 
> -XX:NewRatio=2"
> initial-heap-size="32m" max-heap-size="1024m"
>
>
> Any insight you could provide would be appreciated.
> Thanks
> ------------------------------------------------------------------------
>
> _______________________________________________
> hotspot-gc-use mailing list
> hotspot-gc-use at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
>   

-- 
----------------------------------------------------------------------
| Tony Printezis, Staff Engineer    | Sun Microsystems Inc.          |
|                                   | MS BUR02-311                   |
| e-mail: tony.printezis at sun.com    | 35 Network Drive               |
| office: +1 781 442 0998 (x20998)  | Burlington, MA01803-0902, USA  |
----------------------------------------------------------------------
e-mail client: Thunderbird (Solaris)


_______________________________________________
hotspot-gc-use mailing list
hotspot-gc-use at openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use



More information about the hotspot-gc-dev mailing list