fabric_pkg: Unrecongnized vm option: +HeapDumpOnOutOfMemoryError
Posted: Thu, 05/22/2008 - 15:39
fabric_pkg: Unrecongnized vm option: +HeapDumpOnOutOfMemoryError
I was wondering if anyone else is having this issue: I've just installed EAF 3.8, and am trying to execute the fabric_pkg command. I get the "Unrecongnized vm option: +HeapDumpOnOutOfMemoryError" error. This is on jdk 1.5.0_02. The fabric_ctl command does work, so my env variables seem to be ok.








Hi superman,
(got to love being able to say that :-)
Well, this is an unexpected one. Apparently the HeapDumpOnOutOfMemoryError option was added in JDK 1.6, and then back-ported into 1.4.2_12, 1.5.0_07. We'll document this, and discuss what to do to fix it.
Is it possible for you to upgrade?
Also, you now qualify for a free Bug Report t-shirt. I'll email you for your contact info (please don't post it here!).
Thanks much,
Guerry
I was thinking it was a jdk version thing. Thanks for verifying it. I think the easiest thing for us is to upgrade our jdk, probably to 1.6.
Thanks for the quick reply!
superman
I am seeing the issue as well. I have migrated my existing 3.5.1 projects that build fine up to a 3.8 fabric. when I run my build scripts, I get the same error.
Unrecognized VM option '+HeapDumpOnOutOfMemoryError'
Java Virtual Machine failed to load: -6
I will take your advice and try upgrading the JVM.
Thanks,
We are making a new release candidate tonight to remove the +HeapDumpOnOutOfMemoryError.
This bug should only affect fabric_pkg and not the fabric workers themselves. So, you should be able to just upgrade the box you are packaging on.
When I post the new installers tomorrow, I'll also post fabric.upgrade files. You can use the fabric.upgrade file if you want to upgrade your fabric workers (without uninstalling and reinstalling). Information about deploying fabric.upgrade files can be found here: http://63.246.24.158/developers/wiki/display/eaf38dev/Fabric+Upgrades
Of course, upgrading your JDK also should fix the problem.
Thanks,
Guerry