Running with Prism 2.2 on a Linux box. How much memory is needed for the English grammar?
prism -s 32000000000 -p 128000000
bash-4.2$ PRISM 2.2, (C) Sato Lab, Tokyo Institute of Technology, September, 2015
B-Prolog Version 7.8b1, All rights reserved, (C) Afany Software 1994-2012.
This edition of B-Prolog is for evaluation, learning, and non-profit
research purposes only, and a license is needed for any other uses.
Please visit http://www.probp.com/license.htm for the detail.
Type 'prism_help' for usage.
| ?- statistics.
statistics.
Stack+Heap: 256,000,000,000 bytes
Stack in use: 3,200 bytes
Heap in use: 5,120 bytes
Program: 1,024,000,000 bytes
In use: 3,943,488 bytes
Symbols: 9,450
Trail: 16,000,000 bytes
In use: 2,096 bytes
Memory manager:
GC: Calls(0), Time(0 ms)
Expansions: Stack+Heap(0), Program(0), Trail(0), Table(0)
yes
| ?- [load_with_simplelex].
...
create_implementation_rule_append(sentence_0_1,[],[sentence,stop],_5ec20)
create_implementation_rule_append(sentence_0_1,[],[sentence,stop],_5e8d0)
*** error(resource_error(out_of_memory),stack_heap)
| ?- statistics.
statistics.
Stack+Heap: 256,000,000,000 bytes
Stack in use: 3,200 bytes
Heap in use: 5,120 bytes
Program: 1,024,000,000 bytes
In use: 4,421,479 bytes
Symbols: 11,690
Trail: 16,000,000 bytes
In use: 112 bytes
Memory manager:
GC: Calls(2), Time(8105 ms)
Expansions: Stack+Heap(0), Program(0), Trail(0), Table(0)
yes
| ?-
Running with Prism 2.2 on a Linux box. How much memory is needed for the English grammar?