Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #16528

Re: Memory leaks problem

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!newspump.sol.net!posts.news.twtelecom.net!nnrp3.twtelecom.net!not-for-mail
From <bar@robox.ii.up.krakow.pl>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Memory leaks problem
Date Fri, 7 Feb 2014 06:23:42 +0000 (UTC)
Sender steve@smc.vnet.net
Approved Steven M. Christensen <steve@smc.vnet.net>, Moderator
Message-ID <ld1u5e$15e$1@smc.vnet.net> (permalink)
References <20140205082549.5383569ED@smc.vnet.net> <lcvguf$pbn$1@smc.vnet.net>
Lines 38
Organization Time-Warner Telecom
NNTP-Posting-Date 07 Feb 2014 06:29:07 GMT
NNTP-Posting-Host 58bbe7a0.news.twtelecom.net
X-Trace DXC=8ASDJcNZe8diUai=K\Eb@nC_A=>8kQj6m;[h;PUXBgbdHnHVmV3ecQdEFiONJ7[Gof47=QA9^ZDAm
X-Complaints-To abuse@twtelecom.net
Xref csiph.com comp.soft-sys.math.mathematica:16528

Show key headers only | View raw


Unfortunately, this is not an option,

In my problem i have to use function

IF[z_]:=NIntegrate[F[p],{p,0,z}];

and parameter "z" depends on pointer of loop (wsk)

I tried to use ClearSystemCache[] and no effects too,

In my real calculation it is a big problem:
mem:17243496
mem:24692800
mem:47696432

Temporary solution is to calculate only one loop, then Exit[] and run again and so on,
But is not comfortable solution

regards, Olaf




Sseziwa Mukasa <mukasa@gmail.com> wrote:
> 
> Looks like Integrate stores information on each call, compare to these
> results:
> 
> ClearAll["`*"];
> $HistoryLength = 0;
> n = 5;
> integral = Integrate[Sin[p], {p, 0, 3}];
> Do[bound = Table[{wsk, integral}, {wsk, 1, 100}];
>  ClearAll[bound];
>  Print[MemoryInUse[]], {st, 1, n}];
> 
> 46966216

Back to comp.soft-sys.math.mathematica | Previous | NextPrevious in thread | Find similar


Thread

Re: Memory leaks problem Sseziwa Mukasa <mukasa@gmail.com> - 2014-02-06 08:25 +0000
  Re: Memory leaks problem <bar@robox.ii.up.krakow.pl> - 2014-02-07 06:23 +0000

csiph-web