Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 428

mphinterp - Read data from model fails: Error in meshextend: GC overhead limit exceeded

$
0
0
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

Viewing all articles
Browse latest Browse all 428

Trending Articles