From: Christopher Alexander Stein <stein@eecs.harvard.edu>
To: Damien Doligez <damien.doligez@inria.fr>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Out_of_memory
Date: Sat, 18 Dec 2004 03:18:07 -0500 (EST) [thread overview]
Message-ID: <20041218031455.C86590@bowser.eecs.harvard.edu> (raw)
In-Reply-To: <2BD7548E-5081-11D9-B92D-000D9345235C@inria.fr>
Do you mean something more than gdb? I've used gdb and I get the
following stack trace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1075667072 (LWP 9819)]
0x0805a026 in caml_oldify_mopup ()
(gdb) bt
#0 0x0805a026 in caml_oldify_mopup ()
#1 0x0805a0e5 in caml_empty_minor_heap ()
#2 0x0805a190 in caml_minor_collection ()
#3 0x0805a21a in caml_check_urgent_gc ()
#4 0x0805ac3f in caml_alloc_string ()
#5 0x0805e138 in caml_create_string ()
#6 0x080688de in caml_interprete ()
#7 0x08059be9 in caml_main ()
#8 0x08059d60 in main ()
(gdb)
I'm not sure where to go from here. What do you recommend?
Thanks
Lex
On Sat, 18 Dec 2004, Damien Doligez wrote:
> On 17 déc. 2004, at 07:44, Christopher Alexander Stein wrote:
>
> > Hi, I am getting an exception Out_of_memory. The manual tells me
> > this is raised by the garbage collector when there is
> > insufficient memory to complete the computation. Is there any way
> > to find out what is causing this; what is gobbling up memory too
> > fast for the GC? Perhaps there is a way to get and analyze a core
> > file or a way to catch the exception and dump the heap and
> > garbage collector state. Any suggestions?
>
> Have you tried using the debugger?
>
> -- Damien
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
next prev parent reply other threads:[~2004-12-18 8:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-17 6:44 Out_of_memory Christopher Alexander Stein
2004-12-17 23:12 ` [Caml-list] Out_of_memory Damien Doligez
2004-12-18 8:18 ` Christopher Alexander Stein [this message]
2004-12-18 11:10 ` Damien Doligez
2004-12-18 18:35 ` Christopher Alexander Stein
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=20041218031455.C86590@bowser.eecs.harvard.edu \
--to=stein@eecs.harvard.edu \
--cc=caml-list@inria.fr \
--cc=damien.doligez@inria.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