From: Sven Luther <sven.luther@wanadoo.fr>
To: Sarah DJEBALI <djebali@ens.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Fatal error: out of memory
Date: Sat, 5 Nov 2005 13:07:42 +0100 [thread overview]
Message-ID: <20051105120741.GA17371@localhost.localdomain> (raw)
In-Reply-To: <436C9DE5.2000602@ens.fr>
On Sat, Nov 05, 2005 at 12:56:21PM +0100, Sarah DJEBALI wrote:
> Hi,
>
> I am using ocaml 3.08, and when running my executable on certain kind of
> data I get the message :
> Fatal error: out of memory.
Can you please try with 3.09 in experimental ?
> To diagnose the problem and as adviced in the user manual, I have run
> ocamlrun with the option -v.
> It displays lots of "growing heap..." messages with the heap size
> growing slowly.
> In such situations the user manual says there is an attempt to construct
> a data structure with too many cells.
Well, usually you get this behavior because your application is not written
optimally, especially with recursive functions.
> I know this may look a very naive question,
> but is is possible to increase the heap size?
Probably, but not sure it will solve your problem. There is an ocaml-beginner
mailing list somewhere which would be more appropriate though, as here we
usually deal with packaging issues mostly.
Friendly,
Sven Luther
next prev parent reply other threads:[~2005-11-05 12:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-05 11:56 Sarah DJEBALI
2005-11-05 12:07 ` Sven Luther [this message]
2005-11-05 17:09 ` [Caml-list] " Sven Luther
2005-11-10 14:51 ` Damien Doligez
2012-06-05 0:32 Jianzhou Zhao
2012-06-06 21:30 ` Brian Campbell
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=20051105120741.GA17371@localhost.localdomain \
--to=sven.luther@wanadoo.fr \
--cc=caml-list@inria.fr \
--cc=djebali@ens.fr \
/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