caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Potential OCaml-ZMQ memory management problems
@ 2014-12-04  6:09 Kenneth Adam Miller
  2014-12-04  7:55 ` Anders Fugmann
  0 siblings, 1 reply; 14+ messages in thread
From: Kenneth Adam Miller @ 2014-12-04  6:09 UTC (permalink / raw)
  To: caml users

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

I'm using ocaml-zmq (https://github.com/issuu/ocaml-zmq) and I think I'm
encountering a memory management issue. I could be wrong however, but
basically the issue (I think) is I have a rather large set of messages to
send via zmq, and I'm getting a segfault.

Does anybody know if I need to free the strings received from zmq recv
functions in ocaml? If so how do I do that from ocaml?

There's no code because this is just a general novice ocaml questions.

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

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

end of thread, other threads:[~2014-12-08 18:19 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-04  6:09 [Caml-list] Potential OCaml-ZMQ memory management problems Kenneth Adam Miller
2014-12-04  7:55 ` Anders Fugmann
2014-12-04  8:02   ` Kenneth Adam Miller
2014-12-04  9:59     ` Anders Fugmann
2014-12-04 10:04       ` Kenneth Adam Miller
2014-12-04 16:39         ` Kenneth Adam Miller
2014-12-04 16:45           ` Kenneth Adam Miller
2014-12-04 19:36             ` Anders Peter Fugmann
2014-12-04 21:48               ` Kenneth Adam Miller
2014-12-05  9:14                 ` Anders Fugmann
2014-12-05 14:38                   ` Kenneth Adam Miller
2014-12-08 18:11                     ` Kenneth Adam Miller
2014-12-08 18:16                       ` Yotam Barnoy
2014-12-08 18:19                         ` 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).