[Dune] Status of 2.0 release

Oliver Sander sander at mi.fu-berlin.de
Fri Apr 9 15:15:56 CEST 2010


The default UGGrid uses is 500MB.  Less than that should be more
than enough for the test.  There is no really elegant way to set the
value though:
- UGGrid has a constructor taking the internal heap size in MB as an 
argument
- UGGridFactory has a constructor taking a constructed UGGrid object,
  so you can construct your grid object with the non-default constructor and
  then let the factory do the rest.
- I have no idea how dgf handles the issue.

--
Oliver

Christian Engwer schrieb:
> On Fri, Apr 09, 2010 at 12:53:54PM +0200, Oliver Sander wrote:
>   
>> Hi Christian!
>> I cannot reproduce the error on my machine.
>>
>> The error message actually says:
>>
>> ERROR in CreateMultiGrid: Cannot allocate heap!
>> ERROR in new: could not create multigrid
>> GridError: UGGrid<3>::makeNewMultigrid failed!
>>
>> Are you running this on a machine (or emulator) with
>> less than 500MB of main memory?
>>
>>     
>
> It is on an emulator. I have no idea how much memory it has, I'll try
> to check. Would a smaller heap size be OK for the tests? How do I
> change it when using grid readers, like the dgfparser?
>
> Christian
>   


-- 
************************************************************************
* Oliver Sander                ** email: sander at mi.fu-berlin.de        *
* Freie Universität Berlin     ** phone: + 49 (30) 838 75348           *
* Institut für Mathematik      ** URL  : page.mi.fu-berlin.de/~sander  *
* Arnimallee 6                 ** -------------------------------------*
* 14195 Berlin, Germany        ** Member of MATHEON (www.matheon.de)   *
************************************************************************





More information about the Dune mailing list