caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Xavier Leroy <xavier@Theory.Stanford.EDU>
To: jairo@cesma.usb.ve (Jairo A. Medina)
Cc: caml-list@margaux.inria.fr, jairo@cesma.usb.ve
Subject: Re: Uncaught exception: Out_of_memory
Date: Thu, 10 Feb 1994 11:47:34 -0800 (PST)	[thread overview]
Message-ID: <9402101947.AA24871@Tamuz.Stanford.EDU> (raw)
In-Reply-To: <9402101609.AA01844@Pantaleon > from "Jairo A. Medina" at Feb 10, 94 12:09:51 pm

> #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




      reply	other threads:[~1994-02-11  8:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-02-10 16:09 Jairo A. Medina
1994-02-10 19:47 ` Xavier Leroy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9402101947.AA24871@Tamuz.Stanford.EDU \
    --to=xavier@theory.stanford.edu \
    --cc=caml-list@margaux.inria.fr \
    --cc=jairo@cesma.usb.ve \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).