Re: memory problem when compiling list of lists

Erick Alphonse <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>
Hello,

I want to update an old report on memory consumption problems in gprolog.

>
> The file bug.pl contains a fact declaring a list of lists. When 
> consulting this file, gprolog (pl2wam) requires a large amount of 
> memory, and the longer the list, the higher the memory. Consulting a 
> list of more than 1000 lists requires more than 200Mo.

I have attached the file to consult (6Ko uncompressed). Gprolog 1.2.18 
has the same problem.

Also, I cannot load files containing clauses of about 24Mo. gprolog 
cannot load them and asks for more than GLOBALSZ=800Mo and 
TRAILSZ=100Mo. I hope the bugs are related.

Did someone experience the same problem? I would be very grateful if 
someone could send me a workaround or a patch for these problems. I 
really need to run some experiments ;-).

Thanks a lot in advance,
Best regards,
Erick.

_______________________________________________
Users-prolog mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/users-prolog
bug.pl.gz (application/x-gzip, 2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.