I have a JNI interface to some native libraries that determines the amount available heap memory by using
RHeap heap = User::Heap();
heap.Available();
I tried to increase the heap by using -ms and -mx, but that doesn't seem to work. How do I tell the pjava jvm to allocate more heap for my native libraries?

Thanks.