[eclipse-clp-users] memory limits

From: Stephan Schiffel <stephan.schiffel_at_inf.tu-dresden.de>
Date: Mon, 2 Jun 2008 17:18:57 +0200
Hello,

I wonder about the maximal amount of memory one can set for global/local 
stack. I didn't find anything about it in the documentation. If I set it to 
2GB or more I get very strange errors that are difficult to reproduce. 1GB 
global stack and 512MB local stack work reliably for me, but I'd like to use 
some more memory and knowing which numbers work for sure would be good.
In mem.c I found
word stacksize = RoundTo(ec_options.localsize + ec_options.globalsize, 
STACK_PAGESIZE);
which I think should be a uword. But I don't really understand what is 
happening there.

Regards,
Stephan
-- 
                              Stephan Schiffel
                       Technische Universität Dresden,
                 Fakultät Informatik, 01062 Dresden, Germany
           Tel: [49] (351) 463-39243    Fax: [49] (351) 463-37924
                  Email: stephan.schiffel_at_inf.tu-dresden.de
Received on Mon Jun 02 2008 - 08:19:13 CEST

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET