Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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.
mphinterp - Read data from model fails: Error in meshextend: GC overhead limit exceeded
Posted 2016年5月19日 GMT-4 05:42 Low-Frequency Electromagnetics, Interfacing, LiveLink for MATLAB Version 4.2 1 Reply
Please login with a confirmed email address before reporting spam
Hello,
I have encountered an error which I can not explain myself. I am calculating multiple models one after another with Matlab and read out data at specific coordinates.
This is part of my Matlab-Script:
dc_model; % Define Parameters, Geometry and Mesh, save model
for n = 1:204
...some stuff....
name = ['Homo-Model-',num2str(e1),'-',num2str(e2)];
solve_model; % Open meshed model, define physics, solve and save as name.mph
model = mphload(name); % load model
for m = 1:8
....some stuff...
mod_Vp(n,m)=mphinterp(model,'V','coord',[420;150;0]);
end
end
This worked fine up to n = 201. For n = 202 I get the following error:
Error using mphinterp
Java exception occurred:
Exception:
java.lang.RuntimeException: Error in meshextend: GC overhead limit exceeded
(rethrown as com.comsol.util.exceptions.FlException)
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
Error in meshextend: GC overhead limit exceeded
Old model cannot be reconstructed. Do Clear Solution to expunge
Error in meshextend: GC overhead limit exceede
Error in run_model (line 76)
mod_Vp(n,m)=mphinterp(model,'V','coord',[420;150;0]);
For some reason I cannot attach the model ("File size error"...)
I hope someone can help.
Thanks,
Sina
I have encountered an error which I can not explain myself. I am calculating multiple models one after another with Matlab and read out data at specific coordinates.
This is part of my Matlab-Script:
dc_model; % Define Parameters, Geometry and Mesh, save model
for n = 1:204
...some stuff....
name = ['Homo-Model-',num2str(e1),'-',num2str(e2)];
solve_model; % Open meshed model, define physics, solve and save as name.mph
model = mphload(name); % load model
for m = 1:8
....some stuff...
mod_Vp(n,m)=mphinterp(model,'V','coord',[420;150;0]);
end
end
This worked fine up to n = 201. For n = 202 I get the following error:
Error using mphinterp
Java exception occurred:
Exception:
java.lang.RuntimeException: Error in meshextend: GC overhead limit exceeded
(rethrown as com.comsol.util.exceptions.FlException)
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
Error in meshextend: GC overhead limit exceeded
Old model cannot be reconstructed. Do Clear Solution to expunge
Error in meshextend: GC overhead limit exceede
Error in run_model (line 76)
mod_Vp(n,m)=mphinterp(model,'V','coord',[420;150;0]);
For some reason I cannot attach the model ("File size error"...)
I hope someone can help.
Thanks,
Sina
1 Reply Last Post 2016年5月26日 GMT-4 03:44