Memory leaks problem
- To: mathgroup at smc.vnet.net
- Subject: [mg132304] Memory leaks problem
- From: <bar at robox.ii.up.krakow.pl>
- Date: Wed, 5 Feb 2014 03:25:49 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-outx@smc.vnet.net
- Delivered-to: mathgroup-newsendx@smc.vnet.net
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
- Follow-Ups:
- Re: Memory leaks problem
- From: Peter Klamser <klamser@gmail.com>
- Re: Memory leaks problem
- From: Bob Hanlon <hanlonr357@gmail.com>
- Re: Memory leaks problem
- From: Sseziwa Mukasa <mukasa@gmail.com>
- Re: Memory leaks problem