Hi All,
As you know NetRexxDE recently had to be fixed and re-released due to
changes in latest incarnation of Sun's jvm.
As of java version 1.6.0_18 HotSpot defaults for initial, minimum and
maximum heap sizes were enlarged. See
excerpt of the changelog I previously posted to the list for the details.
Now while doing a little research on Tom's problem I noticed that
NetRexxC.bat, NetRexxC.cmd and
NetRexxC.sh all specify an option "-ms4M" when calling java.exe.
In short this renders the unmodified script unusable as it's requesting a
minimum heap size smaller than the
jvm's provided initial one. Invocation fails with:
C:\home\drequena\dev\NetRexx\NetRexx\bin>nrc
Error occurred during initialization of VM
Too small initial heap for new size specified
C:\home\drequena\dev\NetRexx\NetRexx\bin>NetRexxC
Error occurred during initialization of VM
Too small initial heap for new size specified
On *my* system rising minimum heap to 8 MB (-ms8M) solves the issue as this
is the new absolute minimum the jvm
will initialize. BTW I think this should be prefixed with 'X' as is a non
standard option...
In short, anyone using these scripts will face the problem sooner or later
when updating their jre or jdk (at least on
the Windows platform).
Hope that bit prevents some bad surprises when updating. I never used these
scripts myself.
PS: Thomas, this may or may not be related to your current issue.
NetRexxC.bat is called by nrc.bat. Besides you stated
you have updated java recently...
--
Saludos / Regards,
David Requena
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://ns.hursley.ibm.com/pipermail/ibm-netrexx/attachments/20100210/4d7c6aa4/attachment-0001.html