caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list]  Cannot execute "main" function
@ 2015-07-17 18:35 Shuai Wang
  2015-07-17 18:50 ` Kenneth Adam Miller
  2015-07-17 18:51 ` Ivan Gotovchits
  0 siblings, 2 replies; 12+ messages in thread
From: Shuai Wang @ 2015-07-17 18:35 UTC (permalink / raw)
  To: caml-list, Shuai Wang

[-- Attachment #1: Type: text/plain, Size: 912 bytes --]

Dear list,


I am working on some tools written in OCaml (compiled by OCaml version
4.01.0).

This morning I changed some code, compiled it and let it processing some
large data (~ 4G), it never stops after over 2 hours.

I feed the tool with a tiny input which took less than 1 second to process
before, and  I figured out that now it takes around 2.5 minutes before
entering into "main" function!

I tried to clean the whole codebase, and recompile it ( I use ocamlbuild
4.01.0), but the same wired situation still happens..

I did this:

    ltrace ./init.native input

and I got this output flushing out for a very long time (sorry mail list
blocks my large image.. ):

http://i.stack.imgur.com/sEkKk.png



Is anyone aware this kind of issue before..? Am I messed up something..?
I have been working on OCaml for a relatively long time and I didn't
encounter this kind of stuff before...


Sincerely,
Shuai

[-- Attachment #2: Type: text/html, Size: 2410 bytes --]

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

end of thread, other threads:[~2015-07-17 19:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-17 18:35 [Caml-list] Cannot execute "main" function Shuai Wang
2015-07-17 18:50 ` Kenneth Adam Miller
2015-07-17 18:53   ` Shuai Wang
2015-07-17 18:57     ` Kenneth Adam Miller
2015-07-17 19:08       ` Shuai Wang
2015-07-17 18:51 ` Ivan Gotovchits
2015-07-17 19:07   ` Shuai Wang
2015-07-17 19:11     ` Ivan Gotovchits
2015-07-17 19:13       ` Shuai Wang
2015-07-17 19:16         ` Kenneth Adam Miller
2015-07-17 19:35           ` Shuai Wang
2015-07-17 19:37             ` Kenneth Adam Miller

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).