Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

COMSOL 4.0 with MATLAB - out of memory error

Please login with a confirmed email address before reporting spam

hey everyone,

I'm trying to use the LiveLink for MATLAB from COMSOL 4.0, and I started out by reading the LiveLink user guide.
in the user guide, it starts with an example of a "feeder clamp" model, which already exists in the model library. I saved the model as an m-file, and started "COMSOL 4.0 with MATLAB". I opened the m-file and ran it, and I got an error:

%%%%%%%%%%%%%%%%%%%%%%%%%

??? Java exception occurred:
Exception:
java.lang.OutOfMemoryError: PermGen space
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
PermGen space


Stack trace:


Error in ==> feeder_clamp at 18
model.physics.create('solid', 'SolidMechanics', 'geom1');

%%%%%%%%%%%%%%%%%%%%%%%%%

can anybody tell what can I do? I'm pretty stuck in here...
I tried incresing the internal memory but it didn't work.

thank you,
Yael.

2 Replies Last Post 15.03.2011, 14:29 GMT-4
COMSOL Moderator

Hello yael goren

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 15.03.2011, 11:27 GMT-4
Hi, did you ever figure this out? I'm having the same problem
Hi, did you ever figure this out? I'm having the same problem

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 15.03.2011, 14:29 GMT-4
actually, I needed to replace my computer to one with a 64bit operating system...
actually, I needed to replace my computer to one with a 64bit operating system...

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.