caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Uncaught exception: Out_of_memory
@ 1994-02-10 16:09 Jairo A. Medina
  1994-02-10 19:47 ` Xavier Leroy
  0 siblings, 1 reply; 2+ messages in thread
From: Jairo A. Medina @ 1994-02-10 16:09 UTC (permalink / raw)
  To: caml-list; +Cc: Jairo A. Medina

	Hola:


		I am doing some test, and got this:
#t2list c;;
- : ID list = [CMD CREATE; CMD TABLE; OPPAR; OPPAR; CLPAR; OPPAR; COMMENT; CMD NOT]
#let c = lexing__create_lexer_string "CREATE TABLE (()(\\ NOT,,,
,,"

#t2list c;;
Uncaught exception: Out_of_memory


	How can i increase the memory handled by the camllight system?

-- 
  Jairo A. Medina
  UNIVERSIDAD SIMON BOLIVAR      e-mail: jairo@cesma.usb.ve Jairo.Medina@usb.ve
  Mat. Puras y Aplicadas CESMA.  voz   : 58-2-9063233 9063234
  Apartado postal 89000          fax   : 58-2-9063232
  Caracas-Venezuela
 
                          From the Tropic.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Uncaught exception: Out_of_memory
  1994-02-10 16:09 Uncaught exception: Out_of_memory Jairo A. Medina
@ 1994-02-10 19:47 ` Xavier Leroy
  0 siblings, 0 replies; 2+ messages in thread
From: Xavier Leroy @ 1994-02-10 19:47 UTC (permalink / raw)
  To: Jairo A. Medina; +Cc: caml-list, jairo

> #t2list c;;
> Uncaught exception: Out_of_memory
>
> 	How can i increase the memory handled by the camllight system?

Caml Light has (almost) no "hard" limits on memory: it will allocate
as much as needed, unless the memory resources of the machine are
exhausted. On a Unix machine without soft limits or memory quotas,
this means the whole swap space, and there's not much you can do to go
beyond that limit.

Most often, the "Out_of_memory" error is caused by a looping program,
e.g. a non-terminating recursion that causes the stacks to grow
infinitely. (See the discussion at the end of the chapter on the
runtime system in the Caml Light manual.)

Another likely cause is trying to allocate a string or array of an
unreasonable size.

Try to trace some of your functions to see what's going on.

Regards,

- Xavier Leroy




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-02-11  8:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-02-10 16:09 Uncaught exception: Out_of_memory Jairo A. Medina
1994-02-10 19:47 ` Xavier Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).