Re: JNI_CreateJavaVM fails in client jvm, if initial/max heap sizes are specified



On 30 Jun 2005 10:36:31 -0700, Naresh Agarwal wrote:
> if I specify the initial and maximum heap sizes (i.e., -Xms and -Xmx
> options) while creating JVM (i.e., while calling JNI_CreateJavaVM),
> the application fails at JNI_CreateJavaVM call.
>
> Any ideas why this is happening.

Not off hand. Post your launcher code.

/gordon

--
[ do not email me copies of your followups ]
g o r d o n + n e w s @ b a l d e r 1 3 . s e
.



Relevant Pages

  • Re: could not find main class error
    ... How would I create a manifest file and in what directory should I put ... specify the main class, which I did, but the JVM still fails to find ... Prev by Date: ...
    (comp.lang.java.help)
  • Re: ExitWindowsEx function not working.
    ... you should always check the API return value ... to determine if the API calling fails. ... As Int32, ByVal dwreserved As Int32) As Int32 ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Calling GC routine in alternative ways
    ... if the program is about to play animation or ui ... And second, the JVM ... > has an algorithm that determines when to call the garbage collector ... > Calling the garbage collector manually doesn't buy you anything, ...
    (comp.lang.java.help)
  • Re: set of sets
    ... the add succeeds ... the remove fails eventually not calling hash. ... Is this fast as with lists? ...
    (comp.lang.python)
  • Re: Calling GC routine in alternative ways
    ... And second, the JVM ... has an algorithm that determines when to call the garbage collector ... Calling the garbage collector manually doesn't buy you anything, ... if the ability to call the gc leads ...
    (comp.lang.java.help)