[gecode-users] Heap memory exhaustion

Christian Schulte cschulte at kth.se
Mon Feb 25 00:09:49 CET 2008


What would also be helpful is looking to the Windows Task Manager and see
how much memory the process uses.

Christian

--
Christian Schulte, www.ict.kth.se/~cschulte/


-----Original Message-----
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Guido Tack
Sent: Sunday, February 24, 2008 10:32 PM
To: Joe Porter
Cc: users at gecode.org
Subject: Re: [gecode-users] Heap memory exhaustion

Something I forgot:

Please try again with full recomputation, i.e. c_d=0, a_d=1000000.  If  
it still runs out of memory, the problem might be in Gecode.

Guido

Joe Porter wote:

> I'm having a problem with Gecode 2.0.0 on Windows XP Professional.   
> My application seems to work fairly well on many cases, but I have  
> two cases that run for about 9 minutes before declaring that the  
> heap memory is exhausted.
>
> I have tried the following:
> 1. Modifying boot.ini to add the /3GB flag to increase the  
> individual application memory limit.
> 2. Adjusting a_d and c_d (using DFS).  I have tried (c_d=16, a_d=8)  
> and (c_d=20, a_d=1000).
> 3. Recompiling with heap memory reservation increased from 1MB  
> (default as I understand) to 8 MB.
>
> All of these lead to the same result.  Here is a printout of the  
> search stats:
>
> Ran out of memory!!! (Memory: Heap memory exhausted)
> Stats: Search Stats
>
> Initial
>         propagators:   68
>         branchings:    2
>
> Summary
>         propagations:  37440926
>         failures:      18387289
>         clones:        18387303
>         commits:       36777015
>         peak memory:   646672 KB
>
>
> No matter what I try these numbers do not change.
>
> Thanks in advance for any help,
> -Joe
>
> _______________________________________________
> Gecode users mailing list
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users


_______________________________________________
Gecode users mailing list
users at gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users





More information about the gecode-users mailing list