From: Ramon Gonzalez-A. <ar...@ma...> - 2009-04-05 23:09:47
|
Dear Gentlemen, It was rather fluent to move into macports, downloading it, installing libsndfile, readline & autoconf. Having a new foo was wonderfully easy, absolutely no problem. Actually I installed it in /opt/local so as to keep a previous foo around in case of checking needs, as it has been the case now. 1) Offset & Reference now seem to be working perfectly. 2) The problem with snd-region/snd-extract seems to have been reversed from what we had when I did the previous tests. So now: (snd- region (snd-extract ...)) gives errors, while (snd-extract (snd- region ...)) works fine. You can see both these tests in BoogiesNew.foo attached. They are, on the other hand, the same tests as before. 3) Memory Leak. I attach a file with my results (theTestsNw.txt), both with the previous and the new foo. You are right Martin as far as I can see. When forcing regularly a garbagge-collect, memory keeps steady, when not forcing gc, memory increases but at a slower rate thean before. It was a pain because top and ps have different options/ flags on the Mac and Linux, so I had to play around a bit, and actually I didn't manage to do a top script. But it doesn't matter, ps shows quite well the situation. I haven't done new/more complex examples as Martin suggests yet, but have adapted the old examples I did to proof, on first instance, the memory leak question. You are certainly on the right track. 4) About kill-context. I can't remember now when it was suggested to do that in a consistent way. Actually, the funtion SP-run (this is the function that finally creates, executes contexts, tasks and synthesis) has a kill-context as the last thing to do. As far as I remember, I agree with what Martin presumes, it was something related to things not being properly finalised. It looks as if the "finaliser question" and the memory leak left over could be related, don't you think so? I will check with more complex examples as a next step, but I think these tests give a clear image. This is it, for the time being. If you would need more specific tests, please do tell me. O therwise I will re-start the set of tests/ examples. All the best, Ramon |