Hi,
I have a mse file that contains only files and folders. It loads correctly into Moose but when i want to browse AllFiles or AllFolders it freezes and starts to eat a lot of memory (250MB and more) until i have to kill VisualWorks. Could you take a look and see what could be wrong with this model. Thanks.
Adrian D.
Hi,
This behaviour is usually due to an infinite recursion.
In this particular case, the recursion is given by at least the following circular references in the MSE file:
(FAMIX.Folder (id: 2117) (stub false) (name 'lib') (belongsTo (idref: 2124)))
(FAMIX.Folder (id: 2124) (stub false) (name 'lisa') (belongsTo (idref: 2117)))
If you ask how I found this case, it was manual: I immediately pressed Ctrl+Y (to spawn the debugger), I started from the name of the Folder that created the recursion, and then I looked it up in the MSE file and then walked to its belongsTo and that was it :).
Cheers, Doru
On May 23, 2007, at 12:41 AM, Adrian DOZSA wrote:
Hi,
I have a mse file that contains only files and folders. It loads correctly into Moose but when i want to browse AllFiles or AllFolders it freezes and starts to eat a lot of memory (250MB and more) until i have to kill VisualWorks. Could you take a look and see what could be wrong with this model. Thanks.
Adrian D.
-- Adrian DOZSA Politehnica University of Timisoara Computer Science Department mail: adi.dozsa@gmail.com web: http://adi.dozsa.googlepages.com/ <filefolder.mse> _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Tudor Girba www.iam.unibe.ch/~girba www.iam.unibe.ch/~girba/blog/
"The coherence of a trip is given by the clearness of the goal."