JVM error using COM object from VBA

Hi,
For a VBA application, I need to use Matlab fonctions. So, I used Matlab builder NE to make COM objects. When I used this COM object, I get a message error:
"Enable to start the JVM. Error occured during initialization of VM. Could not reserve enough space for object heap.
There is not enough memory to start up the Java virtual machine. Try quitting other applications or increasing your virtual memory."
No other application are running. I try to increase virtual memory but no changes. I use Matlab 32 bit version, on Windows Xp 32 bit. When I try my code on Windows 7, all works fine, but I need to run it on Xp.
Thanks for your help.

Réponses (0)

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by