[Ikvm-developers] How can I pass -Xms2g -Xmx2g parameters to the IKVM.NET JVM? v:ikvm-7.0.4335.0
Brought to you by:
jfrijters
|
From: Pasham, R. <Ram...@sa...> - 2012-02-08 20:44:49
|
Hi Guys, First of all I have to congratulate you for this wonderful product. And Thanks! I am trying to invoke market data api in Java from my .Net application. For this I complied all the dependent jars to dlls and used in my .Net application. Everything worked fine until I started using api calls that would require more memory for the java objects. I started getting the java.lang.OutOfMemoryError while trying to expand the java.util.concurrent.ConcurrentHashMap. Running the same requests directly in java doesn't cause this OutOfMemoryError. How does the IKCM.NET JVM handle memory re-allocations? Is there a way we can pre-assign memory for this JVM by using -Xms2g -Xmx2g type of arguments like we pass to Java standard JVM at startup? Thanks in advance! Ram ________________________________ DISCLAIMER: This e-mail message and any attachments are intended solely for the use of the individual or entity to which it is addressed and may contain information that is confidential or legally privileged. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and permanently delete this message and any attachments. |