users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

memory problems


From: Hector Palacios
Subject: memory problems
Date: Mon, 22 Apr 2002 14:39:14 -0400 (VET)

I'm calling prolog from C++.

I set memory variables to:
LOCALSZ=1000 GLOBALSZ=7000 TRAILSZ=8000 CSTRSZ=16000

Then, I start the program and it self take near to 10MB.
I have 320MB of RAM on Linux box.

But when I Start gprolog it got me the following error:
Fatal Error: Memory allocation fault (calloc) in hash.c:116

I tried to change stack limit with ulimit but it didnt works.

As I understand in documentacion, I'm allocating 31MB 
for gprolog. I seens strange that it can't start.

Any ideas?

Thanks in advance

-- 
++++++++++++++++++++++++++++++++++++++++++++++
Hector L. Palacios V. - Dpto. Computacion y TI
       Grupo de Inteligencia Artificial 
+58-212-9063257(Ofic)     +58-212-9063243(Fax)
----------------------------------------------
   Ama y haz lo que quieras.    San Agustin.
++++++++++++++++++++++++++++++++++++++++++++++





reply via email to

[Prev in Thread] Current Thread [Next in Thread]