[bp-users]help!
Neng-Fa Zhou
nzhou@acm.org
Sat, 16 Aug 2003 22:27:41 -0400
This is a multi-part message in MIME format.
------=_NextPart_000_00F5_01C36445.9AE27800
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
You can specify stack space in the startPlc method call. For example,
Plc.startPlc(new String []{"-s","20000000"});
starts B-Prolog with 20*4 mega bytes for the stack. For other settings,
please see the manual at:
http://www.probp.com/manual/node114.html
Regards,
Neng-Fa
----- Original Message -----
From: Strack
To: bp-users@lists.probp.com
Sent: Wednesday, August 13, 2003 4:28 PM
Subject: [bp-users]help!
Hello everybody,
I am developing system for automated timetabling. The core of the system
is bprolog program which is called from Java. I have a problem. When I try
to solve problem with more then 40 courses I get an information that I have
to try to restart bprolog with bp -s xxxx, beacuse garbage collector was
called more then 4 times. I also tryed to include set_prolog_flag(gc,off)
predicate in my bprolog program, but nothing happened. How to set memory
management from Java?
I hope that someone can help me.
Thanks in advance,
Miodrag
------=_NextPart_000_00F5_01C36445.9AE27800
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>You can specify stack space in =
the startPlc=20
method call. For example,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Plc.startPlc(new String=20
[]{"-s","20000000"});</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>starts B-Prolog with 20*4 mega bytes =
for the stack.=20
For other settings, please see the manual at:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://www.probp.com/manual/node114.html">http://www.probp.com/ma=
nual/node114.html</A></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Neng-Fa</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt MS UI Gothic">----- Original Message ----- =
</DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt MS UI Gothic; font-color: =
black"><B>From:</B>=20
<A title=3Dstrack@ptt.yu href=3D"mailto:strack@ptt.yu">Strack</A> =
</DIV>
<DIV style=3D"FONT: 10pt MS UI Gothic"><B>To:</B> <A=20
title=3Dbp-users@lists.probp.com=20
href=3D"mailto:bp-users@lists.probp.com">bp-users@lists.probp.com</A> =
</DIV>
<DIV style=3D"FONT: 10pt MS UI Gothic"><B>Sent:</B> Wednesday, August =
13, 2003=20
4:28 PM</DIV>
<DIV style=3D"FONT: 10pt MS UI Gothic"><B>Subject:</B> =
[bp-users]help!</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>Hello everybody,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I am developing system for automated =
timetabling.=20
The core of the system is bprolog program which is called from Java. I =
have a=20
problem. When I try to solve problem with more then 40 courses I get =
an=20
information that I have to try to restart bprolog with =
bp=20
-s xxxx, beacuse garbage collector was called more then 4 =
times. I=20
also tryed to include set_prolog_flag(gc,off) predicate in my bprolog =
program,=20
but nothing happened. How to set memory management from =
Java?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I hope that someone can help me. =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial =
size=3D2>Miodrag</FONT></DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_00F5_01C36445.9AE27800--