FORUMS: list search recent posts

MEL - Cleaning memory-cash

COW Forums : Autodesk Maya

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Mohammad Taha
MEL - Cleaning memory-cash
on Feb 15, 2016 at 3:34:55 pm

Hi is me again,
after I had help last time with my mel script start(view this link:
https://forums.creativecow.net/thread/61/864643 )

I come over a new isue and was woundering if there is a soulution for it.

After my script runs over the sceen and finishs, the memory cash stays really high that It is mostly imposible to save. (takes long time) is there a script to tell maya some kind of give all not used memory back. or not to block them or some kind like this?

It would be to good if " clearCache -all " is what I'm looking for but if i start this line i Just get "result is 0". So is not what I need or I'm doing somethink wrong.

Thx again.


Return to posts index


Mohammad Taha
Re: MEL - Cleaning memory-cash
on Feb 24, 2016 at 7:19:45 am

I found a way to clear the cash. with cleaning the undo.
I just put into my script:

flushUndo;

this reduced the memory more then half.

can be closed. :)


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]