Increasing virtual memory for JVM in MCR. plzz help!

I am getting an error while calling MCR through my .NET application that "could not start JVM because of low virtual memory","Could not reserve enough space for object heap". I have MCR 7.16
Thanks In advance.

 채택된 답변

Friedrich
Friedrich 2012년 3월 22일

1 개 추천

Hi,
This is basically an out of memory error thrown by the JVM. You can either lower the heap space of the JVM, or move to a 64bit System with enough RAM.
For lowering the heap space see here:
put that java.opts in:
Or if you don't use any graphic on the MATLAB side, consider disabling the JVM completly:

댓글 수: 1

Aya
Aya 2012년 5월 8일
Friedrich, thank you SO much for this reply. I have been suffering with this issue for a couple days now. I disabled the JVM using the link you provided and now all is well!
:)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by