Re: DistributeDefinitions statement appears to create memory leak
- To: mathgroup at smc.vnet.net
- Subject: [mg109584] Re: DistributeDefinitions statement appears to create memory leak
- From: Sseziwa Mukasa <mukasa at jeol.com>
- Date: Thu, 6 May 2010 04:52:38 -0400 (EDT)
On May 5, 2010, at 6:06 AM, Todd Allen wrote:
> Hi everyone,
> Has anyone ever seen a DistributeDefinitions statement lead to run-away memory consumption?
> I am using the following command:
> inside a module. y is a variable with 2384 items, consuming 104856 bytes & z is a variable with 2184 items consuming 429344 bytes.
> When Mathematica reaches this statement in my program, I see it launch 2 kernels, and then it gobbles up 1.6 gigabytes of memory before running out and shutting down the kernel. The next line in the program is never execut ed because Mathematica spends about 30 seconds consuming memory before it shuts down.
> Would you have any ideas what may be happening?
What are the items in y and z? Are they also symbols pointing to other values? I have a program that distributes larger lists, but all the items in the list are just Atoms (complex numbers or integers), and it works fine for me.
Prev by Date:
Re: A question about saving figures from Mathematica 7
Next by Date:
FrontEnd and bash automatization
Previous by thread:
DistributeDefinitions statement appears to create memory leak
Next by thread:
mathlink error handling inside :Begin: - :End: