Java webstart max-heap-size causes JVM cannot be started
We use java webstart on the client side for a java swing based aplication. Recently we have been experiencing a weird "Cannot start java Virtual machine " error when clicking in the jnlp link. We soon find out its because the max-heap-size setting in the jnlp file was set to 1024m whereas most of the clients PC only have 1 gb physical memory. Set the max-heap-size back to 512m solved the problem. Currently, the relevant line in the jnlp file looks like <j2se version="1.5+" initial-heap-size="100m" max-heap-size="512m"/> I looked into the jnlp spec, but cannot find anything related to the "Java