First, from error message text I'm assuming that you mean ECLiPSe constraint logic programming system, not Eclipse IDE.
Second, how do you start ECLiPSe? How do you load your code into ECLiPSe?
Try this (you said you are on Windows):
- Open command line from the folder where your ECLiPSe source file (say, 'myprogram.ecl') exists. For instructions look at this page: http://www.techsupportalert.com/content/how-open-windows-command-prompt-any-folder.htm
- In the command line put
eclipse -g 512000
and press ENTER. - Load your program using
[myprogram].
(put name of your ECLiPSe source file instead of 'myprogram'). - Execute queries as usual.
But I suspect that your program just runs forever and eats all memory, so all this probably won't help in the end.
EDIT. Updated instructions for TkECLiPSe:
- In TkECLiPSe in menu choose Tools -> TkECLiPSe Preference Editor.
- In preference window find option "Global/trail stack size (in megabytes)" and set it to 512.
- Save preferences and close TkECLiPSe.
- Next time you run TkECLiPSe stack size will be set to 512 Mb.