Messages In This Digest (3 Messages)
- 1a.
- Re: Same old _ out of memory From: ta_wan2006
- 1b.
- Re: Same old _ out of memory From: freelsjd32289
- 2a.
- error 4100 From: Saskia Roels
Messages
- 1a.
-
Re: Same old _ out of memory
Posted by: "ta_wan2006" ta_wan2006@yahoo.com.tw ta_wan2006
Mon Jan 5, 2009 8:58 pm (PST)
Thank you!! My computer OS is 32bits with WinXP Professional SP3,
When I open [boot loader] its shown
[boot loader]
timeout=5
default=multi(0)disk(0) rdisk(0)partitio n(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0) partition( 1)\WINDOWS= "Microsoft Windows XP
Professional" /noexecute=optin /fastdetect /noexecute=alwaysoff
This is different what you describes. Where I should put the /3G
parameter?
In X:\COMSOL35\bin\comsol. opts
# memory size parameters
MAXHEAP=256m
MAXHEAPCLIENT=512m
MAXHEAPSERVER=256m
MAXHEAP64=1024m
MAXHEAPCLIENT64=1024m
MAXHEAPSERVER64=1024m
STACKSIZE=2m
STACKSIZE64=4m
JAVAOPTS=on
I just need to change MAXHEAP=256m to MAXHEAP=128m?
--- In COMSOL_Users@yahoogroups. , "freelsjd32289" <freelsjd@..com .>
wrote:
>
> --- In COMSOL_Users@yahoogroups. , "freelsjd32289" <freelsjd@>com
wrote:
> >
> > --- In COMSOL_Users@yahoogroups. , "ta_wan2006" <ta_wan2006@com >
wrote:
> > >
> > > I hate to say that-- when the solver pop up #### out of memory.
It is
> > > realy made me mad about that. I have been used many commercial
> > > software. The most and frequently to see the small reply
window "####
> > > out of memory" should be Comsol. Is the user problems or the
software-
> > > itself problem?
> > >
> >
> > 32bit or 64bit ?
> >
> > what kind of solver are you using ?
> >
>
> See the following help available to registered COMSOL users:
>
> http://www.comsol.com/support/ knowledgebase/ 1030/
>
> Solution Number: 1030
> Title: Error message: "Out of memory"
> Platform: All Platforms
> Applies to: All Products
> Versions: 3.3, 3.4
> Created: April 29, 2008
> Last Modified: August 15, 2008
> Categories: Solver, Postprocessing, Error Messages
> Keywords: memory, geometry, mesh
> Description
>
> The error message "Out of memory" occurs mostly on 32-bit platforms,
> due to the inherent limit in memory address space. We recommend a
> 64-bit system (for example Windows XP 64-bit Edition, Vista 64-bit
or
> a 64-bit Linux version) for any user with sizable models. For those
> users who are still restricted to a 32-bit platform, this Knowledge
> Base solution will give some guidance how to get the most out of
your
> system.
> Introduction
>
> A 32-bit processor system (for example Windows XP) can potentially
> allocate up to 4 GB of memory, but in most practical cases only 1.5
GB
> due to operating system footprint. This is regardless of how big you
> set the swap space. Some 32-bit operating systems require special
> settings to be able to use high amounts of memory.
> Software Settings
>
> There are several ways of increasing the available memory for the
solvers.
> Tuning the Java heap size
>
> Of the available memory (RAM and virtual memory), one section, the
> Java heap, is reserved for Java and will be used for graphics and
> postprocessing. The rest will be available for meshing and solving.
If
> the out-of-memory message appears during the solution progress, you
> can decrease the Java heap size. If you get out-of-memory during
> postprocessing, increase the Java heap.
>
> On Windows, modify the file COMSOL34/bin/comsol.opts and on
> Sun/Linux/Mac OSX, modify the file COMSOL34/bin/comsol. Change the
> line MAXHEAP=256m to for example MAXHEAP=128m. You need to restart
> COMSOL for the change to apply.
> Running client-server mode
>
> Sometimes it can be favorable to run client/server mode because a
> separate server has less memory fragmentation problems. If you want
to
> change the Java heap on a COMSOL server, follow the intstructions
> above but modify the MAXHEAPSERVER line instead.
> Running COMSOL with MATLAB
>
> Similarly, if you run out of memory while saving an mph-file from
the
> COMSOL with MATLAB, change the value of the MAXHEAPSERVER line.
> Virtual Memory and Swap Space for 32-bit architecture
>
> Increasing the swap file size on the system is only interesting if
you
> can live with the notable slowness in operation that occurs as soon
as
> the hard disk swapping starts. In many cases, hard disk swapping is
> not an option.
>
> In Windows XP, you only have 2 GB of virtual address space available
> initially for a user process. This memory space is also sometimes
> fragmented by shared libraries. On Linux, Sun, and Mac, you
typically
> get between 3-4 GB of virtual address space available for your
> process. This address space is usually not fragmented.
> 3 GB switch
>
> COMSOL Multiphysics supports the option in Windows XP Professional
and
> Windows 2003 Server to have 3 GB of virtual address space available
> for user processes. This reduces the available address space for the
> operating system to 1 GB. To access it you must boot the system
using
> an additional boot parameter. The following example shows how to
> enable application memory tuning by adding the /3GB parameter in the
> boot.ini file:
>
> Caution: Only add the /3GB switch, shown in boldface below. Do not
> copy the full lines below into your boot.ini, since the parameter
> values may be different for different systems. Please note that the
> file boot.ini is critical to booting your system. If you change the
> partition numbers, your computer will fail to boot and you cannot
> recover the system without a system restore disk.
>
> To open the boot.ini file on Windows XP Professional, right-click My
> Computer, select the Advanced tab, go to the lower section Startup
and
> Recovery, click Settings. In the new dialog box, click Edit.
>
> [boot loader]
> timeout=30
> default=multi(0)disk(0) rdisk(0)partitio n(2)\WINNT
> [operating systems]
> multi(0)disk(0)rdisk(0) partition( 2)\WINNT= "????" /3GB
>
> The "????" above can be the name of your operating system for
example
> "Microsoft Windows XP Professional".
>
> Some users report that Vista 32-bit also can benefit from a 3 GB
> setting. This is not tested by us. To change the setting, run the
> command bcdedit /set IncreaseUserVa 3072 as an administrator at the
> command prompt. To turn off the 3 GB switch, run
bcdedit /deletevalue
> IncreaseUserVa.
> A Note about Memory Monitoring on 32-bit systems
>
>
> Especially in 3D modelling, extensive memory usage urges some extra
> precautions. The "Out of Memory"-problem occurs whenever COMSOL
> Multiphysics tries to allocate an array which does not fit
> sequentially in memory. It is common on 32-bit systems that the
amount
> of available memory seems large enough for the arraybut there may
> exist no continuous block of that size due to fragmentation. If you
> for example look in the task manager of Windows, this may have the
> effect that you can't see any high memory allocation, and get "out
of
> memory" anyway.
>
> The "Memory Usage" column in the Windows task manager can also be
> misleading, because it only shows the currently swapped portion. A
> better indicator of total usage can be found like this (Win2000,
> WinNT, Win XP, Windows Vista):
>
> 1. Press Ctrl-Alt-Delete to bring up the Task Manager.
> 2. Go to the "processes" tab.
> 3. From the View menu, choose Select Columns.
> 4. Select the Virtual Memory Size (in Windows Vista: "Commit Size")
> check box.
> 5. Now find the comsol.exe process that corresponds to the COMSOL
> Multiphysics process in the process list and look in the "VM Size"
> column. This shows a better value for the actual memory used.
>
> See also: Knowledge Base solution 866 for hardware tips, Knowledge
> Base solution 830 about memory intensive models.
>
- 1b.
-
Re: Same old _ out of memory
Posted by: "freelsjd32289" freelsjd@ornl.gov freelsjd32289
Tue Jan 6, 2009 12:06 pm (PST)
You should not need to modify your boot loader at all !
We are just talking about how you start up COMSOL !
The /3G switch is just that--a switch you add to the end of the comsol
execution line. So, in your icon properties, where the command is
defined, add the /3G switch.
The other parameters are changes to the COMSOL options file. You may
need to experiment with your settings, following the COMSOL
recommendations.
--- In COMSOL_Users@yahoogroups. , "ta_wan2006" <ta_wan2006@com ...> wrote:
>
> Thank you!! My computer OS is 32bits with WinXP Professional SP3,
> When I open [boot loader] its shown
> [boot loader]
> timeout=5
> default=multi(0)disk(0) rdisk(0)partitio n(1)\WINDOWS
> [operating systems]
> multi(0)disk(0)rdisk(0) partition( 1)\WINDOWS= "Microsoft Windows XP
> Professional" /noexecute=optin /fastdetect /noexecute=alwaysoff
>
> This is different what you describes. Where I should put the /3G
> parameter?
>
> In X:\COMSOL35\bin\comsol. opts
> # memory size parameters
> MAXHEAP=256m
> MAXHEAPCLIENT=512m
> MAXHEAPSERVER=256m
> MAXHEAP64=1024m
> MAXHEAPCLIENT64=1024m
> MAXHEAPSERVER64=1024m
> STACKSIZE=2m
> STACKSIZE64=4m
> JAVAOPTS=on
> I just need to change MAXHEAP=256m to MAXHEAP=128m?
>
>
>
>
> --- In COMSOL_Users@yahoogroups. , "freelsjd32289" <freelsjd@>com
> wrote:
> >
> > --- In COMSOL_Users@yahoogroups. , "freelsjd32289" <freelsjd@>com
> wrote:
> > >
> > > --- In COMSOL_Users@yahoogroups. , "ta_wan2006" <ta_wan2006@com >
> wrote:
> > > >
> > > > I hate to say that-- when the solver pop up #### out of memory.
> It is
> > > > realy made me mad about that. I have been used many commercial
> > > > software. The most and frequently to see the small reply
> window "####
> > > > out of memory" should be Comsol. Is the user problems or the
> software-
> > > > itself problem?
> > > >
> > >
> > > 32bit or 64bit ?
> > >
> > > what kind of solver are you using ?
> > >
> >
> > See the following help available to registered COMSOL users:
> >
> > http://www.comsol.com/support/ knowledgebase/ 1030/
> >
> > Solution Number: 1030
> > Title: Error message: "Out of memory"
> > Platform: All Platforms
> > Applies to: All Products
> > Versions: 3.3, 3.4
> > Created: April 29, 2008
> > Last Modified: August 15, 2008
> > Categories: Solver, Postprocessing, Error Messages
> > Keywords: memory, geometry, mesh
> > Description
> >
> > The error message "Out of memory" occurs mostly on 32-bit platforms,
> > due to the inherent limit in memory address space. We recommend a
> > 64-bit system (for example Windows XP 64-bit Edition, Vista 64-bit
> or
> > a 64-bit Linux version) for any user with sizable models. For those
> > users who are still restricted to a 32-bit platform, this Knowledge
> > Base solution will give some guidance how to get the most out of
> your
> > system.
> > Introduction
> >
> > A 32-bit processor system (for example Windows XP) can potentially
> > allocate up to 4 GB of memory, but in most practical cases only 1.5
> GB
> > due to operating system footprint. This is regardless of how big you
> > set the swap space. Some 32-bit operating systems require special
> > settings to be able to use high amounts of memory.
> > Software Settings
> >
> > There are several ways of increasing the available memory for the
> solvers.
> > Tuning the Java heap size
> >
> > Of the available memory (RAM and virtual memory), one section, the
> > Java heap, is reserved for Java and will be used for graphics and
> > postprocessing. The rest will be available for meshing and solving.
> If
> > the out-of-memory message appears during the solution progress, you
> > can decrease the Java heap size. If you get out-of-memory during
> > postprocessing, increase the Java heap.
> >
> > On Windows, modify the file COMSOL34/bin/comsol.opts and on
> > Sun/Linux/Mac OSX, modify the file COMSOL34/bin/comsol. Change the
> > line MAXHEAP=256m to for example MAXHEAP=128m. You need to restart
> > COMSOL for the change to apply.
> > Running client-server mode
> >
> > Sometimes it can be favorable to run client/server mode because a
> > separate server has less memory fragmentation problems. If you want
> to
> > change the Java heap on a COMSOL server, follow the intstructions
> > above but modify the MAXHEAPSERVER line instead.
> > Running COMSOL with MATLAB
> >
> > Similarly, if you run out of memory while saving an mph-file from
> the
> > COMSOL with MATLAB, change the value of the MAXHEAPSERVER line.
> > Virtual Memory and Swap Space for 32-bit architecture
> >
> > Increasing the swap file size on the system is only interesting if
> you
> > can live with the notable slowness in operation that occurs as soon
> as
> > the hard disk swapping starts. In many cases, hard disk swapping is
> > not an option.
> >
> > In Windows XP, you only have 2 GB of virtual address space available
> > initially for a user process. This memory space is also sometimes
> > fragmented by shared libraries. On Linux, Sun, and Mac, you
> typically
> > get between 3-4 GB of virtual address space available for your
> > process. This address space is usually not fragmented.
> > 3 GB switch
> >
> > COMSOL Multiphysics supports the option in Windows XP Professional
> and
> > Windows 2003 Server to have 3 GB of virtual address space available
> > for user processes. This reduces the available address space for the
> > operating system to 1 GB. To access it you must boot the system
> using
> > an additional boot parameter. The following example shows how to
> > enable application memory tuning by adding the /3GB parameter in the
> > boot.ini file:
> >
> > Caution: Only add the /3GB switch, shown in boldface below. Do not
> > copy the full lines below into your boot.ini, since the parameter
> > values may be different for different systems. Please note that the
> > file boot.ini is critical to booting your system. If you change the
> > partition numbers, your computer will fail to boot and you cannot
> > recover the system without a system restore disk.
> >
> > To open the boot.ini file on Windows XP Professional, right-click My
> > Computer, select the Advanced tab, go to the lower section Startup
> and
> > Recovery, click Settings. In the new dialog box, click Edit.
> >
> > [boot loader]
> > timeout=30
> > default=multi(0)disk(0) rdisk(0)partitio n(2)\WINNT
> > [operating systems]
> > multi(0)disk(0)rdisk(0) partition( 2)\WINNT= "????" /3GB
> >
> > The "????" above can be the name of your operating system for
> example
> > "Microsoft Windows XP Professional".
> >
> > Some users report that Vista 32-bit also can benefit from a 3 GB
> > setting. This is not tested by us. To change the setting, run the
> > command bcdedit /set IncreaseUserVa 3072 as an administrator at the
> > command prompt. To turn off the 3 GB switch, run
> bcdedit /deletevalue
> > IncreaseUserVa.
> > A Note about Memory Monitoring on 32-bit systems
> >
> >
> > Especially in 3D modelling, extensive memory usage urges some extra
> > precautions. The "Out of Memory"-problem occurs whenever COMSOL
> > Multiphysics tries to allocate an array which does not fit
> > sequentially in memory. It is common on 32-bit systems that the
> amount
> > of available memory seems large enough for the arraybut there may
> > exist no continuous block of that size due to fragmentation. If you
> > for example look in the task manager of Windows, this may have the
> > effect that you can't see any high memory allocation, and get "out
> of
> > memory" anyway.
> >
> > The "Memory Usage" column in the Windows task manager can also be
> > misleading, because it only shows the currently swapped portion. A
> > better indicator of total usage can be found like this (Win2000,
> > WinNT, Win XP, Windows Vista):
> >
> > 1. Press Ctrl-Alt-Delete to bring up the Task Manager.
> > 2. Go to the "processes" tab.
> > 3. From the View menu, choose Select Columns.
> > 4. Select the Virtual Memory Size (in Windows Vista: "Commit Size")
> > check box.
> > 5. Now find the comsol.exe process that corresponds to the COMSOL
> > Multiphysics process in the process list and look in the "VM Size"
> > column. This shows a better value for the actual memory used.
> >
> > See also: Knowledge Base solution 866 for hardware tips, Knowledge
> > Base solution 830 about memory intensive models.
> >
>
- 2a.
-
error 4100
Posted by: "Saskia Roels" saskiaroels@yahoo.com saskiaroels
Tue Jan 6, 2009 5:52 am (PST)
hello everyone,
i am a new member of the group and just starting with comsol modeling. unfortunately i am facing my first problem already and i hope someone can help me.
as it is right now i am able to refine my mesh until a certain level and whenever i want to refine it more i get the following error:
Error: 4100
Failed to generate mesh for subdomain.
- Subdomain: 1
Internal error in advancing front mesher.
does anyone know what it means and what i can do to overcome this error?
Thanks a lot!
saskia.
Need to Reply?
Click one of the "Reply" links to respond to a specific message in the Daily Digest.
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Individual | Switch format to Traditional
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
沒有留言:
張貼留言