Ivar KJELBERG
                                                                                                                                                    COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
                                                         
                            
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                2 decades ago                            
                            
                                12 juil. 2010, 11:35 UTC−4                            
                        
                        
                                                    Hi
there are a few dscussions about setting the java heap for heavy calculations, there are also info in the installation guide, and I blieve on the "Knowledge base", another way is to run COMSOL in server Client mode, this frees some RAM for the solver, as the client = pre-postprocessor can better be swapped out of RAM (usefull on laptop PC's)
Good luck
Ivar                                                
                                                
                            Hi
there are a few dscussions about setting the java heap for heavy calculations, there are also info in the installation guide, and I blieve on the "Knowledge base", another way is to run COMSOL in server Client mode, this frees some RAM for the solver, as the client = pre-postprocessor can better be swapped out of RAM (usefull on laptop PC's)
Good luck
Ivar                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                2 decades ago                            
                            
                                13 juil. 2010, 05:21 UTC−4                            
                        
                        
                                                    Hi
Thanks for the answer Ivar.
I've read the references you mention, and I've tuned the size of the Java heap space, but it does not seem to work.
I've attached the error displayed by Comsol, does anyone know if it is a problem of memory while post-processing or during the calculation itself ?
                                                
                                                
                            Hi
Thanks for the answer Ivar.
I've read the references you mention, and I've tuned the size of the Java heap space, but it does not seem to work.
I've attached the error displayed by Comsol, does anyone know if it is a problem of memory while post-processing or during the calculation itself ?
                        
                                                
                        
                                                
                                                                                                            
                                             
                                            
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                2 decades ago                            
                            
                                11 sept. 2010, 23:14 UTC−4                            
                        
                        
                                                    I encountered the same question druing the parameter sweep. and I can not find the comsol.opt in comsol4.0a, so I want to ask you how can you fix it?
Thanks a bunch!                                                
                                                
                            I encountered the same question druing the parameter sweep. and I can not find the comsol.opt in comsol4.0a, so I want to ask you how can you fix it?
Thanks a bunch!                        
                                                
                                                                                                            
                                             
                                            
                            
                                                                                        
                                Ivar KJELBERG
                                                                                                                                                    COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
                                                         
                            
                         
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                2 decades ago                            
                            
                                12 sept. 2010, 04:02 UTC−4                            
                        
                        
                                                    Hi
well I suppose "support" is the best place to get help then, as for the COMSOL code I do not have any other insider info than any other COMSOL user ;)
--
Good luck
Ivar                                                
                                                
                            Hi
well I suppose "support" is the best place to get help then, as for the COMSOL code I do not have any other insider info than any other COMSOL user ;)
--
Good luck
Ivar                        
                                                
                                                                                                            
                                             
                        
                        
                                                
    
        Please login with a confirmed email address before reporting spam
     
    
 
                                                Posted:
                            
                                2 decades ago                            
                            
                                13 sept. 2010, 18:46 UTC−4                            
                        
                        
                                                    There is no comsol.opt file anymore for version 4.0. However, under \COMSOL40a\bin\win32 or \COMSOL40a\bin\win64 there are the files comsol.ini and comsolserver.ini. The maximum Java heap size is defined as the numeric value after -Xmx. The default is -Xmx1024m or 1024 megabytes.
There are other configuration options here which are specified in \COMSOL40a\java\win64\jre\bin\server\Xusage.txt or \COMSOL40a\java\win32\jre\bin\client\Xusage.txt.
                                                
                                                
                            There is no comsol.opt file anymore for version 4.0. However, under \COMSOL40a\bin\win32 or \COMSOL40a\bin\win64 there are the files comsol.ini and comsolserver.ini. The maximum Java heap size is defined as the numeric value after -Xmx. The default is -Xmx1024m or 1024 megabytes.
There are other configuration options here which are specified in \COMSOL40a\java\win64\jre\bin\server\Xusage.txt or \COMSOL40a\java\win32\jre\bin\client\Xusage.txt.