• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

BEA JROCKIT JVM OPTION

 
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have downloaded BEA jrockit for java 6. This is the version:

java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
BEA JRockit(R) (build R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32, c
ompiled mode)

when I try to create dump using the option -XX:+HeapDumpOnOutOfMemoryError, it says invalid option.

C:\myfolder>java -XX:+HeapDumpOnOutOfMemoryError OOM1
[WARN ] -XX:+HeapDumpOnOutOfMemoryError is not a valid VM option. Ignoring
Exception in thread "Main Thread" java.lang.OutOfMemoryError: requested array is
larger than heap
at OOM1.main(OOM1.java:5)

But it works with Sun JRE.

Is it not supported in JROCKIT or is there any alternate option for this?

Thanks,
Guru
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Gurumurthy Ramamurthy:
But it works with Sun JRE.



As the Java tool documentation details, -X options are non-standard and subject to change. I don't know if there is any alternative in JRocket.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic