From: Sebastien Ferre <ferre@irisa.fr>
To: caml-list@yquem.inria.fr
Cc: "Frédéric Gava" <gava@univ-paris12.fr>
Subject: Re: [Caml-list] marshaling limits
Date: Wed, 17 Jan 2007 16:41:29 +0100 [thread overview]
Message-ID: <45AE43A9.3090904@irisa.fr> (raw)
In-Reply-To: <45AE41C7.8080409@univ-paris12.fr>
pourtant, je passe bien par un appel a output_value
dans un fichier, sans passer par une chaine intermediaire.
Amicalement,
Sebastien
Frédéric Gava wrote:
> Salut,
>
> cela provient du fait que tu passes par le Marshaling c'est-à-dire que
> tu transformes ta donnée en une chaîne de caractères. Or, celles-ci ont
> une taille limite (voir module Sys pour la valeur exacte) d'où le seg
> fault.
>
> A mon avis essaye d'écrire directement ta valeur dans le fichier avec un
> output_value ou bien utilise "ocaml xml" pour lire/écrire des données
> sous le format xml (c'est plus bcp lent mais cela passera à coup sûr la
> limitation des 30 Mo)
>
> Amicalement,
> Frédéric Gava
>
> Sebastien Ferre a écrit :
>
>> Hi,
>>
>> I get a segmentation fault when marshalling
>> a large data structure. I could produce a file
>> of ~30MB, but for a larger data structure of
>> the same kind, I get a seg fault.
>>
>> Do you know of any limit in the marshalling
>> functions w.r.t. size ?
>>
>> Some part of my data structure are big doubly linked
>> graphs.
>>
>> ---
>> Sébastien Ferré
>>
>> _______________________________________________
>> 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:[~2007-01-17 15:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-16 20:48 ocaml+twt v0.90 Mike Lin
2007-01-17 9:14 ` marshaling limits Sebastien Ferre
2007-01-17 9:36 ` [Caml-list] " Olivier Andrieu
2007-01-17 15:33 ` Frédéric Gava
2007-01-17 15:41 ` Sebastien Ferre [this message]
2007-01-17 16:12 ` Daniel Bünzli
2007-01-17 16:32 ` Olivier Andrieu
2007-01-18 8:14 ` Sebastien Ferre
2007-01-17 16:34 ` Sebastien Ferre
2007-01-17 19:37 ` Jonathan Roewen
2007-01-17 19:50 ` Yaron Minsky
2007-01-17 22:51 ` Markus Mottl
2007-01-23 20:43 ` [Caml-list] ocaml+twt v0.90 Ingo Bormuth
[not found] ` <2a1a1a0c0701231322h48e3af00m9f07371f236fe7c@mail.gmail.com>
2007-01-24 16:09 ` Ingo Bormuth
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=45AE43A9.3090904@irisa.fr \
--to=ferre@irisa.fr \
--cc=caml-list@yquem.inria.fr \
--cc=gava@univ-paris12.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