Reply to topic  [ 1 post ] 
"reshape" memory leaks with icc/ia64 
Author Message
Yorick Guru

Joined: Sat Jan 22, 2005 2:44 pm
Posts: 86
Location: Pasadena, CA
Post "reshape" memory leaks with icc/ia64
the "reshape" function, which I do not use much, has a memory leak on one of the machines I work with (ia64 altix Linux Intel compiler,) if I believe "yorick_stats()" or "top". Calling the "median" function from "std.i" repeatedly and checking memory statistics produces an increase in allocated memory. Replacing the offending "reshape" call (the first one in the function) by the equivalent "reform" solves the problem, but allocates more memory. I discovered this while using reshape to unpack some bit packed 12-bit data. I now have a compiled plugin that does this. I was looking at the "median" code to generalize an interpolator with a "which=" dimension-picking keyword, similar to that of "interp".

There is no memory leak with "reshape" on my linux/debian gcc x86_64 box.


Wed May 13, 2009 8:17 am
Profile YIM
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.