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.
Out of memory error running Comsol 4.0a with Matlab
Posted 18.08.2010, 08:16 GMT-4 2 Replies
Please login with a confirmed email address before reporting spam
I'm trying to run Comsol 4.0a with Matlab following the example in the manual, but I get this error:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
EDU>> addpath C:\Users\Kjetil\Documents
EDU>> simple_geometry
??? Java exception occurred:
Exception:
java.lang.OutOfMemoryError: PermGen space
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
PermGen space
Stack trace:
Error in ==> simple_geometry at 20
model.physics.create('emw', 'ElectromagneticWaves', 'geom1');
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I then tried with a VERY simple 2D geometry (the attached model) and, as you see, I still get the same error. I dont get this. The geometry is extremely simple and the mesh is "extra coarse".
Anyone with a solution to this? I would be a happy student and comsoler!
Regards
Kjetil
Hello Kjetil Haukalid
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.