[Thread Prev][Thread Next][Index]

[ferret_users] Memory hogging when setting and canceling dataset



Hi ferreters,

in my ferret script I have a loop, which is set to run about 4000 times. In each iteration, 4 datasets are set, and all datasets are canceled again at the the end of that iteration (so that 'show data' at the end of an iteration returns no datasets).

While the loop is running, ferret occupies about 10 MB memory more per second and never frees it again. Also after the script is stopped ferret doesn't free up any of that memory. After some time ferret occupies 14 GB of memory and crashes with

**ERROR: command syntax: TNAME = ???
def sym tname =
Command file, command group, or REPEAT execution aborted
ERROR RUNNING SCRIPT


Minimal working example with a different dataset offered by ferret:
repeat/RANGE=1:4000/NAME=count (\
 use etopo05.cdf;\
 can dat 1;\
)

This example above adds > 50 MB of occuppied memory per second.

'cancel memory/all' at the end of each iteration does not help with this problem. Any ideas?


Best wishes,
Hella


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement