From: Tom Hawkins <tom@launchbird.com>
To: caml-list@inria.fr
Subject: [Caml-list] Immediate Out_of_memory
Date: Tue, 13 Jul 2004 09:10:12 -0500 [thread overview]
Message-ID: <200407130910.12206.tom@launchbird.com> (raw)
After making a few minor changes, my program started raising the
Out_of_memory exception. The strange thing is it fires a split
second after the program starts. It happens so fast, 'top' doesn't
even have a chance to register it on its radar.
I narrowed it down to a 'Hashtbl.find' application. Just prior to the
statement I did a 'Gc.print_stat stdout':
minor_words: 1044856
promoted_words: 360738
major_words: 371008
minor_collections: 31
major_collections: 6
heap_words: 368640
heap_chunks: 6
top_heap_words: 368640
live_words: 352563
live_blocks: 83968
free_words: 15973
free_blocks: 513
largest_free: 9539
fragments: 104
compactions: 0
Fatal error: exception Out_of_memory
Do these numbers look OK? I have 249MB of total swap memory, with
currently 216 MB free. Any ideas?
The results are the same for both 3.07+2 and 3.08.0.
I'll try to produce a simplified test case. Unfortunately it's in a
rather convoluted spot in the application.
Thanks for any help.
-Tom
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next reply other threads:[~2004-07-13 14:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-13 14:10 Tom Hawkins [this message]
2004-07-13 14:32 ` Xavier Leroy
2004-07-14 2:33 ` Tom Hawkins
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=200407130910.12206.tom@launchbird.com \
--to=tom@launchbird.com \
--cc=caml-list@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