PDA

View Full Version : whats action make ur max "out of memory"?


hblan
06-24-2006, 02:12 PM
hi friends :

in some scene , run some of my scripts , "out of memory " messagebox pop up , many of this make me puzzle , at that time , the free memory of my computer is very large,and if i try to set the script memory size more than 7.5M (default) ,it still run error message "out of memory ", i dont know why . i wish we can collect the reasones , maybe can find something useful

------------------
maybe reason :

1, a mesh object has so many faces , maybe more than 5`0000 faces ,
2, do something with a object , more than 12`0000 count action ,or other ?
3, a objects has too many maps in the material ?
....
.... u can add here . thanks .

---------------------------------
if my reason is true , i want get the answer :
----------------------------------
1. how many faces will be the MAX for script caculate , is it nessisary set a limit faces ?
2. the MAX action with a object , eg : loop 1000 in a loop 2000 , it will be 1000*2000 action on the object.
3. how many maps is safe for the scene ? for the script ?

marktsang
06-24-2006, 10:44 PM
hi,
try disabling undo for the script, flooding the undobuffer can crash max

eg..

with undo off
(
----code
)

mark

hblan
06-26-2006, 02:00 AM
before i have write this thread : undo off , with redraw off , max create mode have been used , dont know why .

CGTalk Moderation
06-26-2006, 02:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.