From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 4EBC17EEF8 for ; Fri, 17 Jul 2015 20:35:44 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of wangshuai901@gmail.com) identity=pra; client-ip=209.85.216.42; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="wangshuai901@gmail.com"; x-sender="wangshuai901@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of wangshuai901@gmail.com designates 209.85.216.42 as permitted sender) identity=mailfrom; client-ip=209.85.216.42; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="wangshuai901@gmail.com"; x-sender="wangshuai901@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-vn0-f42.google.com) identity=helo; client-ip=209.85.216.42; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="wangshuai901@gmail.com"; x-sender="postmaster@mail-vn0-f42.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CHAwCcSqlVmyrYVdFagkZsNVsOBoMdrTAiikSCJIc/B0wBAQEBAQESAQEBAQEGCwsJIS6EPBEdARsXBwMSCQc3AiQBEQEFASIBNId2AQMSDaxcgSw+MYs/gWyCeYsnChknDVeEYxoBBQ6PcgEBgz+BQwWURwWMH5c5EiOBFREGghwcgW8iMQEBgQuBPgEBAQ X-IPAS-Result: A0CHAwCcSqlVmyrYVdFagkZsNVsOBoMdrTAiikSCJIc/B0wBAQEBAQESAQEBAQEGCwsJIS6EPBEdARsXBwMSCQc3AiQBEQEFASIBNId2AQMSDaxcgSw+MYs/gWyCeYsnChknDVeEYxoBBQ6PcgEBgz+BQwWURwWMH5c5EiOBFREGghwcgW8iMQEBgQuBPgEBAQ X-IronPort-AV: E=Sophos;i="5.15,497,1432591200"; d="scan'208";a="170664374" Received: from mail-vn0-f42.google.com ([209.85.216.42]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 17 Jul 2015 20:35:25 +0200 Received: by vnav141 with SMTP id v141so4014205vna.0 for ; Fri, 17 Jul 2015 11:35:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=8Gt7Twjasf4fBRzZYr069oEtDi5BOSdupcF/XDKBAXo=; b=r6gdyLVYw7YgEyME2CauX6jpU+ZKRVATEj1ihuoIFbiZC1cX95q8Ig4ihqZ49vsBqB X0z7RaPWtsoMm3SzedG0fIqrZ9WA613AntHwxLqd68fr7l6t+P87QGBpBzT2Z3eQRZJZ IPJyOLZSH2MyE6p8xk8SI+aIw7vz9DykYeHouu+eqX19K2t1oV9vn56dbDXCtr7IVdT1 Umu6dBZJsPwDyqKJXg1cKH4FEzk4fU16qelkKRM+HNqNG7n3UZBrm9ttoZ4YRajepx+q jSH5S+iw+2Y2LuTdg2U82KbNXPYLD2WlhnxjDn2fBDhwELq4StghJKrdbAgKfIrsUmB1 JMYw== MIME-Version: 1.0 X-Received: by 10.52.117.145 with SMTP id ke17mr18328342vdb.62.1437158123592; Fri, 17 Jul 2015 11:35:23 -0700 (PDT) Received: by 10.31.81.3 with HTTP; Fri, 17 Jul 2015 11:35:23 -0700 (PDT) Date: Fri, 17 Jul 2015 14:35:23 -0400 Message-ID: From: Shuai Wang To: caml-list@inria.fr, Shuai Wang Content-Type: multipart/alternative; boundary=bcaec5485af2716509051b167307 Subject: [Caml-list] Cannot execute "main" function --bcaec5485af2716509051b167307 Content-Type: text/plain; charset=UTF-8 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 --bcaec5485af2716509051b167307 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Dear list,


I am working on some tools written in OCaml (compiled by OCaml versio= n 4.01.0).=C2=A0

This morning I changed some co= de, compiled it and let it processing some large data (~ 4G), it never stop= s after over 2 hours.=C2=A0

I feed the tool wit= h a tiny input which took less than 1 second to process before, and =C2=A0I= figured out that now it takes around 2.5 minutes before entering into &quo= t;main" function!
I tried to clean the who= le codebase, and recompile it ( I use ocamlbuild 4.01.0), but the same wire= d situation still happens..=C2=A0

I did this:

=C2=A0 =C2=A0 ltrace ./init.native input

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




Is anyo= ne aware this kind of issue before..? Am I messed up something..?=C2=A0
I have been working on OCaml = for a relatively long time and I didn't encounter this kind of stuff be= fore...


Sincerely,
= Shuai
--bcaec5485af2716509051b167307--