This issue should be fixed in the next JDK release, a workaround is to increase the minimum heap size, e.g:
# cacaoadm get-param -v java-flags
You'll get something like:
-Xms4M -Xmx128M -Dcom.sun.management.jmxremote ...
meaning that the minimum heap size is 4M. Increase it to an higher value, depending on your platform, like 64M:
# cacaoadm set-param java-flags=-Xms64M -Xmx128M -Dcom.sun.management.jmxremote ...