Hello Hsiang-An Chan
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
27 lug 2011, 09:26 GMT-4
Hi
After obtaining for 3 days the error "compile equations; error in multiphysics compilation" I understood I had to increase the heap space
In 4.2 I did this
C:\COMSOL42\bin\win64
in comsol.ini and comsolserver.ini I set the following
-Xss30m
-Xms200m
-Xmx4024m
-XX:MaxPermSize=900m
the real issue is the 3rd one, that makes the difference
Hi
After obtaining for 3 days the error "compile equations; error in multiphysics compilation" I understood I had to increase the heap space
In 4.2 I did this
C:\COMSOL42\bin\win64
in comsol.ini and comsolserver.ini I set the following
-Xss30m
-Xms200m
-Xmx4024m
-XX:MaxPermSize=900m
the real issue is the 3rd one, that makes the difference
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
17 ott 2011, 21:58 GMT-4
i believe java heap space size can be set depending upon the ram on the computer. I have set it xmx750m (i.e. 750 mb) as I have 3 gb of ram. i calculated this size by diving the ram amount by 4. However i still have the error. if
i try to increase the size, the execution of the model itself fails and further increasing it makes the matlab-comsol interface to shut down. I think presently the only way is to either increase the ram or decreese the no of nodes or timestep!
i believe java heap space size can be set depending upon the ram on the computer. I have set it xmx750m (i.e. 750 mb) as I have 3 gb of ram. i calculated this size by diving the ram amount by 4. However i still have the error. if
i try to increase the size, the execution of the model itself fails and further increasing it makes the matlab-comsol interface to shut down. I think presently the only way is to either increase the ram or decreese the no of nodes or timestep!
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
19 ott 2011, 03:26 GMT-4
At present I have 8 gb of ram, 4 gb heap space (otherwise it wouldn't work, even with 3 gb!!!). I noticed though that the server needs less ram than the gui (2gb vs 4 gb).
In my opinion you should switch to a pc with more ram, if you can. 3 gb today are not enough. I feel also that a very fine mesh makes more problems than short time stepping.
Tha "fail" you talk about may also be that comsol solved the heap space problem and now somehing else came up. or it's the same error with a different name (like "compile equations error").
the shut down may be that the ram is almost full, but I never experienced this.
At present I have 8 gb of ram, 4 gb heap space (otherwise it wouldn't work, even with 3 gb!!!). I noticed though that the server needs less ram than the gui (2gb vs 4 gb).
In my opinion you should switch to a pc with more ram, if you can. 3 gb today are not enough. I feel also that a very fine mesh makes more problems than short time stepping.
Tha "fail" you talk about may also be that comsol solved the heap space problem and now somehing else came up. or it's the same error with a different name (like "compile equations error").
the shut down may be that the ram is almost full, but I never experienced this.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
3 feb 2013, 18:05 GMT-5
I'm playing around with these settings now that I've installed 4.3a on my desktop, sounds like you're on top of this:
I've got an i7 with 16Gb ram, and want to increase the allocated number of processors.
I've increased the Xmx to 4096 (4Gb) but for some reason I can't increase the allocated number of cores past 4, which is the default allocation. (I have seven, plus the root 8th).
I've tried in Comsol under preferences, I've tried the -np <number of processors> tag when running under windows (64bit, both windows AND comsol, although windowds doesn't like it; if someone knows how to make this work I'd be appreciative).
Anyone had success with increasing their cores past 4 like this? I'm working with a 3-d rf-thermal model coupling with massively fine meshes (can't use symmetry either) so I need all the power I can get!
Cheers
I'm playing around with these settings now that I've installed 4.3a on my desktop, sounds like you're on top of this:
I've got an i7 with 16Gb ram, and want to increase the allocated number of processors.
I've increased the Xmx to 4096 (4Gb) but for some reason I can't increase the allocated number of cores past 4, which is the default allocation. (I have seven, plus the root 8th).
I've tried in Comsol under preferences, I've tried the -np tag when running under windows (64bit, both windows AND comsol, although windowds doesn't like it; if someone knows how to make this work I'd be appreciative).
Anyone had success with increasing their cores past 4 like this? I'm working with a 3-d rf-thermal model coupling with massively fine meshes (can't use symmetry either) so I need all the power I can get!
Cheers
Harinadha Reddy Digavinti
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
9 apr 2014, 01:47 GMT-4
When I am trying to do changes in comsol.ini and comsolsolver.ini, its saying "access denied " while saving.
please help
When I am trying to do changes in comsol.ini and comsolsolver.ini, its saying "access denied " while saving.
please help