Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #16523
| From | <bar@robox.ii.up.krakow.pl> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Memory leaks problem |
| Date | 2014-02-05 08:33 +0000 |
| Message-ID | <lcst1g$k69$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
Hello,
I have a problem : memory disappears (leaks) during calculation,
code:
===============================
ClearAll["`*"];
$HistoryLength = 0
n = 5;
Do[bound = Table[{wsk, Integrate[Sin[p], {p, 0, 3}]}, {wsk, 1, 100}];
ClearAll[bound];
Print[MemoryInUse[]]
,{st, 1, n}];
=================================
output:
----------------------------------
24971664
25168576
25365240
25593976
25789224
----------------------------------
When I used simple calling function ( Sin[] instead of Integrate[Sin[]]
this effect didn't occure.
I tried $HistoryLength = 0, ClearAll[bound] and also with no effects
In my real calculation I used more complicated function . I tried to obtain
tables of numerical intergrated functions and I was saving it step by step to the file.
After many steps my all memory leaked and server crashed ( 48 GB RAM)
The table "bound" contained only 50 numerical results of integration per one step
(system Linux Scietific , Fedora, Ubuntu)
Have you any ideas ?
With Best Regards, Olaf
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar
Memory leaks problem <bar@robox.ii.up.krakow.pl> - 2014-02-05 08:33 +0000
csiph-web