Amit Murthy

Results 92 comments of Amit Murthy

For this particular use case, remote references can be used to store locally defined closures on each node and fetch it locally before execution. Something like: ``` # create foo_refs...

The original issue is also related to `gen_foo` defining a local `foo` which is then bound to a global variable `foo`. Consider the following 2 cases: The first one errors...

`@async pmap(...)` will not work as you intend it to - It will just execute the `pmap` in a new task. I am for a new keyword arg, `batch_function=map`, i.e.,...

That was my original thinking. But now I realize it is difficult to predict how it will be used. for example folks are trying with batchsize of 1000.

I just tested with the above code on ``` Julia Version 0.4.4-pre+43 Commit 147d6d0* (2016-03-07 00:34 UTC) Platform Info: System: Darwin (x86_64-apple-darwin14.5.0) ``` After all iterations finished I required 2...

Yes please. It is not a leak in the sense that we are not losing references to objects without memory being freed in the system. The need to call `gc()`...

I'll do a bisect. > Is the problem that the gc does not know what size your things are since they are remote and the remote ref looks really small...

It appears this is a Windows issue. I just tested on OSX for 1000 iterations of both the original as well the revised samples (without a `sleep`) and could not...

Could you post your `versioninfo()`? I am unable to detect a leak on Ubuntu 15.10 with ``` | | |_| | | | (_| | | Version 0.4.3 (2016-01-12 21:37...