Win a copy of GANs in ActionE this week in the AI forum
or WebAssembly in Action in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

BEA JROCKIT JVM OPTION

 
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • 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: 9612
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • 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.
 
Nothing up my sleeve ... and ... presto! A tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!